function MediaEmbedFilterTest::providerOverridesAltAndTitle
Same name in other branches
- 9 core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php \Drupal\Tests\media\Kernel\MediaEmbedFilterTest::providerOverridesAltAndTitle()
- 8.9.x core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php \Drupal\Tests\media\Kernel\MediaEmbedFilterTest::providerOverridesAltAndTitle()
- 11.x core/modules/media/tests/src/Kernel/MediaEmbedFilterTest.php \Drupal\Tests\media\Kernel\MediaEmbedFilterTest::providerOverridesAltAndTitle()
Data provider for testOverridesAltAndTitle().
File
-
core/
modules/ media/ tests/ src/ Kernel/ MediaEmbedFilterTest.php, line 266
Class
- MediaEmbedFilterTest
- @coversDefaultClass \Drupal\media\Plugin\Filter\MediaEmbed @group media @group #slow
Namespace
Drupal\Tests\media\KernelCode
public static function providerOverridesAltAndTitle() {
return [
'`title` field property disabled ⇒ `title` is not overridable' => [
FALSE,
[
NULL,
NULL,
NULL,
NULL,
NULL,
],
],
'`title` field property enabled ⇒ `title` is overridable' => [
TRUE,
[
NULL,
'title 1',
'title 2',
'title 3',
'title 4',
],
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.