protected property DomApplyStylesTest::$exampleConfiguration in Migrate Plus 8.5
Example configuration for the dom_apply_styles process plugin.
Type: array
File
- tests/
src/ Unit/ process/ DomApplyStylesTest.php, line 26
Class
- DomApplyStylesTest
- Tests the dom_apply_styles process plugin.
Namespace
Drupal\Tests\migrate_plus\Unit\processCode
protected $exampleConfiguration = [
'format' => 'test_format',
'rules' => [
[
'xpath' => '//b',
'style' => 'Bold',
],
[
'xpath' => '//span/i',
'style' => 'Italic',
'depth' => 1,
],
],
];