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