private function ValidationConstraintMatchTrait::typedDataManager in Lightning Media 8
Same name and namespace in other branches
- 8.4 src/ValidationConstraintMatchTrait.php \Drupal\lightning_media\ValidationConstraintMatchTrait::typedDataManager()
- 8.2 src/ValidationConstraintMatchTrait.php \Drupal\lightning_media\ValidationConstraintMatchTrait::typedDataManager()
- 8.3 src/ValidationConstraintMatchTrait.php \Drupal\lightning_media\ValidationConstraintMatchTrait::typedDataManager()
Returns the typed data manager.
Return value
\Drupal\Core\TypedData\TypedDataManagerInterface The typed data manager.
File
- src/
ValidationConstraintMatchTrait.php, line 19
Class
- ValidationConstraintMatchTrait
- Implements InputMatchInterface for media types that use an embed code or URL.
Namespace
Drupal\lightning_mediaCode
private function typedDataManager() {
return @($this->typedDataManager ?: \Drupal::typedDataManager());
}