function ImageTestProviderTrait::providerAltTextRequired

Providers data for testAltTextRequired().

File

core/modules/ckeditor5/tests/src/FunctionalJavascript/ImageTestProviderTrait.php, line 116

Class

ImageTestProviderTrait
Provides test methods using data providers for image tests.

Namespace

Drupal\Tests\ckeditor5\FunctionalJavascript

Code

public static function providerAltTextRequired() : array {
  return [
    'Restricted' => [
      FALSE,
    ],
    'Unrestricted' => [
      TRUE,
    ],
  ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.