public function UnsavedIndexConfiguration::postCreate in Search API 8
Acts on a created entity before hooks are invoked.
Used after the entity is created, but before saving the entity and before any of the presave hooks are invoked.
See the Entity CRUD topic for more information.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.
Overrides EntityInterface::postCreate
See also
\Drupal\Core\Entity\EntityInterface::create()
File
- src/
UnsavedIndexConfiguration.php, line 916
Class
- UnsavedIndexConfiguration
- Represents a configuration of an index that was not yet permanently saved.
Namespace
Drupal\search_apiCode
public function postCreate(EntityStorageInterface $storage) {
$this->entity
->postCreate($storage);
}