protected function MenuLinkField::getFieldName in Menu Link (Field) 2.0.x
Same name and namespace in other branches
- 8 src/Plugin/Menu/MenuLinkField.php \Drupal\menu_link\Plugin\Menu\MenuLinkField::getFieldName()
Returns the field name.
Return value
string The Field name.
3 calls to MenuLinkField::getFieldName()
- MenuLinkField::deleteLink in src/
Plugin/ Menu/ MenuLinkField.php - Deletes a menu link.
- MenuLinkField::getProperty in src/
Plugin/ Menu/ MenuLinkField.php - Gets a specific property.
- MenuLinkField::updateLink in src/
Plugin/ Menu/ MenuLinkField.php - Updates the definition values for a menu link.
File
- src/
Plugin/ Menu/ MenuLinkField.php, line 226
Class
- MenuLinkField
- Provides a menu link plugin for field-based menu links.
Namespace
Drupal\menu_link\Plugin\MenuCode
protected function getFieldName() {
return $this
->getPluginDefinition()['metadata']['field_name'];
}