function ImageTestBaselineTrait::providerLinkability
2 calls to ImageTestBaselineTrait::providerLinkability()
- ImageTestBaselineTrait::testImageArbitraryHtml in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTestBaselineTrait.php - Tests that arbitrary attributes are allowed via GHS.
- ImageTestBaselineTrait::testLinkability in core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTestBaselineTrait.php - Tests linkability of the image CKEditor widget.
File
-
core/
modules/ ckeditor5/ tests/ src/ FunctionalJavascript/ ImageTestBaselineTrait.php, line 279
Class
- ImageTestBaselineTrait
- Trait with common test methods for image tests.
Namespace
Drupal\Tests\ckeditor5\FunctionalJavascriptCode
protected function providerLinkability() : array {
return [
'BLOCK image, restricted' => [
'block',
FALSE,
],
'BLOCK image, unrestricted' => [
'block',
TRUE,
],
'INLINE image, restricted' => [
'inline',
FALSE,
],
'INLINE image, unrestricted' => [
'inline',
TRUE,
],
];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.