public function EntityUsageTrackBase::getApplicableFieldTypes in Entity Usage 8.2
Same name and namespace in other branches
- 8.3 src/EntityUsageTrackBase.php \Drupal\entity_usage\EntityUsageTrackBase::getApplicableFieldTypes()
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 EntityUsageTrackInterface::getApplicableFieldTypes
2 calls to EntityUsageTrackBase::getApplicableFieldTypes()
- EntityUsageTrackBase::trackOnEntityCreation in src/
EntityUsageTrackBase.php - Track usage updates on the creation of entities.
- EntityUsageTrackBase::trackOnEntityUpdate in src/
EntityUsageTrackBase.php - Track usage updates on the edition of entities.
File
- src/
EntityUsageTrackBase.php, line 132
Class
- EntityUsageTrackBase
- Base implementation for track plugins.
Namespace
Drupal\entity_usageCode
public function getApplicableFieldTypes() {
return $this->pluginDefinition['field_types'] ?: [];
}