You are here

public function EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepositoryInterface.php \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition()

Stores the entity type definition in the application state.

Parameters

\Drupal\Core\Entity\EntityTypeInterface $entity_type: The entity type definition.

Return value

$this

1 method overrides EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition()
EntityLastInstalledSchemaRepository::setLastInstalledDefinition in core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepository.php
Stores the entity type definition in the application state.

File

core/lib/Drupal/Core/Entity/EntityLastInstalledSchemaRepositoryInterface.php, line 80

Class

EntityLastInstalledSchemaRepositoryInterface
Provides an interface for an installed entity definition repository.

Namespace

Drupal\Core\Entity

Code

public function setLastInstalledDefinition(EntityTypeInterface $entity_type);