You are here

public function EntityLastInstalledSchemaRepositoryInterface::setLastInstalledDefinition in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 57
Contains \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface.

Class

EntityLastInstalledSchemaRepositoryInterface
Provides an interface for an installed entity definition repository.

Namespace

Drupal\Core\Entity

Code

public function setLastInstalledDefinition(EntityTypeInterface $entity_type);