protected function EntityExtraField::getStorage in Entity Extra Field 2.0.x
Same name and namespace in other branches
- 8 src/Entity/EntityExtraField.php \Drupal\entity_extra_field\Entity\EntityExtraField::getStorage()
Get entity storage.
Return value
\Drupal\Core\Entity\EntityStorageInterface The entity storage interface.
Throws
\Drupal\Component\Plugin\Exception\InvalidPluginDefinitionException
\Drupal\Component\Plugin\Exception\PluginNotFoundException
File
- src/
Entity/ EntityExtraField.php, line 609
Class
- EntityExtraField
- Define entity extra field.
Namespace
Drupal\entity_extra_field\EntityCode
protected function getStorage() : EntityStorageInterface {
return $this
->entityTypeManager()
->getStorage($this
->getEntityTypeId());
}