function EntityMaskTest::testNotExposedToFieldUI
Same name in other branches
- 4.0.x modules/ctools_entity_mask/tests/src/Kernel/EntityMaskTest.php \Drupal\Tests\ctools_entity_mask\Kernel\EntityMaskTest::testNotExposedToFieldUI()
Tests that mask entity types are not exposed to Field UI.
File
-
modules/
ctools_entity_mask/ tests/ src/ Kernel/ EntityMaskTest.php, line 130
Class
- EntityMaskTest
- Basic test of entity type masking.
Namespace
Drupal\Tests\ctools_entity_mask\KernelCode
public function testNotExposedToFieldUI() {
/** @var \Drupal\Core\Entity\EntityTypeInterface $entity_type */
$entity_type = $this->container
->get('entity_type.manager')
->getDefinition('fake_block_content');
$this->assertNull($entity_type->get('field_ui_base_route'));
}