function FieldBlockTest::providerTestBlockAccessEntityAllowedFieldHasValue
Provides test data for ::testBlockAccessEntityAllowedFieldHasValue().
File
-
core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php, line 187
Class
Namespace
Drupal\Tests\layout_builder\KernelCode
public static function providerTestBlockAccessEntityAllowedFieldHasValue() {
$data = [];
$data['empty'] = [
FALSE,
TRUE,
FALSE,
];
$data['populated'] = [
TRUE,
FALSE,
FALSE,
];
$data['empty, with default'] = [
TRUE,
TRUE,
TRUE,
];
return $data;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.