Commit 996e4f18 authored by Ivan Doroshenko's avatar Ivan Doroshenko
Browse files

Issue #3265410: Service - document configuration properties.

parent 9de72b01
Loading
Loading
Loading
Loading
+9 −6
Changes for src/Plugin/migrate/process/Service.php: 9 added lines, 6 removed lines.
Original line number Diff line number Diff line
@@ -9,6 +9,15 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
/**
 * Provides a plugin to use a callable from a service class.
 *
 * Available configuration keys:
 * - service: The ID of the service (e.g. file.mime_type.guesser).
 * - method: The name of the service public method.
 * All options for the callback plugin can be used, except for 'callable',
 * which will be ignored.
 *
 * Since Drupal 9.2.0, it is possible to supply multiple arguments using
 * unpack_source property. See: https://www.drupal.org/node/3205079
 *
 * Examples:
 *
 * @code
@@ -38,12 +47,6 @@ use Symfony\Component\DependencyInjection\ContainerInterface;
 *       - constants/slash
 * @endcode
 *
 * Since Drupal 9.2.0, it is possible to supply multiple arguments using
 * unpack_source property. See: https://www.drupal.org/node/3205079
 *
 * All options for the callback plugin can be used, except for 'callable',
 * which will be ignored.
 *
 * @see \Drupal\migrate\Plugin\migrate\process\Callback
 *
 * @MigrateProcessPlugin(