protected function ExtraFieldManagerBase::fieldName in Extra Field 8.2
Build the field name string.
Parameters
string $pluginId: The machine name of the Extra Field plugin.
Return value
string Field name.
4 calls to ExtraFieldManagerBase::fieldName()
- ExtraFieldDisplayManager::entityView in src/
Plugin/ ExtraFieldDisplayManager.php - Appends the renderable data from ExtraField plugins to hook_entity_view().
- ExtraFieldDisplayManager::fieldInfo in src/
Plugin/ ExtraFieldDisplayManager.php - Exposes the ExtraField plugins to hook_entity_extra_field_info().
- ExtraFieldFormManager::entityFormAlter in src/
Plugin/ ExtraFieldFormManager.php - Appends the renderable data from ExtraFieldForm plugins to hook_form_alter.
- ExtraFieldFormManager::fieldInfo in src/
Plugin/ ExtraFieldFormManager.php - Exposes the ExtraField plugins to hook_entity_extra_field_info().
File
- src/
Plugin/ ExtraFieldManagerBase.php, line 146
Class
- ExtraFieldManagerBase
- Base class for Extra Field plugin managers.
Namespace
Drupal\extra_field\PluginCode
protected function fieldName($pluginId) {
return 'extra_field_' . $pluginId;
}