protected function MenuLinkField::getFieldName in Menu Link (Field) 8
Same name and namespace in other branches
- 2.0.x 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 221
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'];
}