You are here

protected function EntityDefinitionTestTrait::deleteEntityType in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php \Drupal\system\Tests\Entity\EntityDefinitionTestTrait::deleteEntityType()

Removes the entity type.

File

core/modules/system/src/Tests/Entity/EntityDefinitionTestTrait.php, line 270
Contains \Drupal\system\Tests\Entity\EntityDefinitionTestTrait.

Class

EntityDefinitionTestTrait
Provides some test methods used to update existing entity definitions.

Namespace

Drupal\system\Tests\Entity

Code

protected function deleteEntityType() {
  $this->state
    ->set('entity_test_update.entity_type', 'null');
}