MediaSource::$allowed_field_types
Same name and namespace in other branches
- 9 core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::allowed_field_types
- 8.9.x core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::allowed_field_types
- 10 core/modules/media/src/Annotation/MediaSource.php \Drupal\media\Annotation\MediaSource::allowed_field_types
The field types that can be used as a source field for this media source.
Type: string[]
File
-
core/
modules/ media/ src/ Annotation/ MediaSource.php, line 58
Class
- MediaSource
- Defines a media source plugin annotation object.
Namespace
Drupal\media\AnnotationCode
public $allowed_field_types = [];
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.