1 {% extends "base/class.php.twig" %}
4 \Drupal\{{module}}\Plugin\migrate\process\{{class_name}}.
7 {% block namespace_class %}
8 namespace Drupal\{{module}}\Plugin\migrate\process;
12 use Drupal\migrate\ProcessPluginBase;
13 use Drupal\migrate\MigrateExecutableInterface;
14 use Drupal\migrate\Row;
17 {% block class_declaration %}
19 * Provides a '{{class_name}}' migrate process plugin.
21 * @MigrateProcessPlugin(
22 * id = "{{plugin_id}}"
25 class {{class_name}} extends ProcessPluginBase {% endblock %}
26 {% block class_methods %}
30 public function transform($value, MigrateExecutableInterface $migrate_executable, Row $row, $destination_property) {
31 // Plugin logic goes here.