public function MediaFinderBase::getApplicableFieldTypes in Group Media 8.2
Returns the field types this plugin is capable of tracking.
Return value
array An indexed array of field type names, as defined in the plugin's annotation under the key "field_types".
Overrides MediaFinderInterface::getApplicableFieldTypes
2 calls to MediaFinderBase::getApplicableFieldTypes()
- MediaReference::process in src/
Plugin/ MediaFinder/ MediaReference.php - Search for the attached media entities.
- TextFieldEmbedBase::process in src/
Plugin/ MediaFinder/ TextFieldEmbedBase.php - Search for the attached media entities.
File
- src/
Plugin/ MediaFinder/ MediaFinderBase.php, line 60
Class
- MediaFinderBase
- Class MediaFinderBase.
Namespace
Drupal\groupmedia\Plugin\MediaFinderCode
public function getApplicableFieldTypes() {
return $this->pluginDefinition['field_types'] ?: [];
}