diff --git a/core/modules/migrate/src/Plugin/migrate/process/Explode.php b/core/modules/migrate/src/Plugin/migrate/process/Explode.php index 267c58b..9b41ebe 100644 --- a/core/modules/migrate/src/Plugin/migrate/process/Explode.php +++ b/core/modules/migrate/src/Plugin/migrate/process/Explode.php @@ -14,14 +14,14 @@ * boundaries formed by the delimiter. * * Available configuration keys: - * - source: The source string. - * - limit: (optional) - * - If limit is set and positive, the returned array will contain a maximum - * of limit elements with the last element containing the rest of string. - * - If limit is set and negative, all components except the last -limit are - * returned. - * - If the limit parameter is zero, then this is treated as 1. - * - delimiter: The boundary string. + * - source: The source string. + * - limit: (optional) + * - If limit is set and positive, the returned array will contain a maximum + * of limit elements with the last element containing the rest of string. + * - If limit is set and negative, all components except the last -limit are + * returned. + * - If the limit parameter is zero, then this is treated as 1. + * - delimiter: The boundary string. * * Example: * @@ -34,7 +34,11 @@ * @endcode * * If foo is "node/1", then bar will be ['node', '1']. The PHP equivalent of - * this would be: $bar = explode('/', $foo). + * this would be: + * + * @code + * $bar = explode('/', $foo); + * @endcode * * @code * process: @@ -46,7 +50,11 @@ * @endcode * * If foo is "node/1/edit", then bar will be ['node', '1/edit']. The PHP - * equivalent of this would be: $bar = explode('/', $foo, 1). + * equivalent of this would be: + * + * @code + * $bar = explode('/', $foo, 1); + * @endcode * * @see \Drupal\migrate\Plugin\MigrateProcessInterface *