7 calls to FieldBlockTest::getTestBlock()
- FieldBlockTest::testBlockAccessEntityAllowedFieldHasValue in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Tests populated vs empty build.
- FieldBlockTest::testBlockAccessEntityAllowedFieldNotAllowed in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Tests field access.
- FieldBlockTest::testBlockAccessEntityAllowedNoField in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Tests fieldable entity without a particular field.
- FieldBlockTest::testBlockAccessEntityAllowedNotFieldable in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Tests unfieldable entity.
- FieldBlockTest::testBlockAccessEntityNotAllowed in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Tests entity access.
- FieldBlockTest::testBuild in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - @covers ::build @dataProvider providerTestBuild
- FieldBlockTest::testBuildWithFormException in core/
modules/ layout_builder/ tests/ src/ Kernel/ FieldBlockTest.php - Tests a field block that throws a form exception.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.