private function FileInputExtensionMatchTrait::entityTypeManager in Lightning Media 8
Same name and namespace in other branches
- 8.4 src/FileInputExtensionMatchTrait.php \Drupal\lightning_media\FileInputExtensionMatchTrait::entityTypeManager()
- 8.2 src/FileInputExtensionMatchTrait.php \Drupal\lightning_media\FileInputExtensionMatchTrait::entityTypeManager()
- 8.3 src/FileInputExtensionMatchTrait.php \Drupal\lightning_media\FileInputExtensionMatchTrait::entityTypeManager()
Returns the entity type manager.
Return value
\Drupal\Core\Entity\EntityTypeManagerInterface The entity type manager.
File
- src/
FileInputExtensionMatchTrait.php, line 19
Class
- FileInputExtensionMatchTrait
- Implements InputMatchInterface for media types that use a file field.
Namespace
Drupal\lightning_mediaCode
private function entityTypeManager() {
return @($this->entityTypeManager ?: \Drupal::entityTypeManager());
}