public function AttributeInterface::buildFormElement in Linkit 8.4
The form element structure for this attribute to be used in the dialog.
Parameters
mixed $default_value: The default value for the element. Used when editing an attribute in the dialog.
Return value
array The form element.
7 methods override AttributeInterface::buildFormElement()
- Accesskey::buildFormElement in src/
Plugin/ Linkit/ Attribute/ Accesskey.php - The form element structure for this attribute to be used in the dialog.
- ConfigurableDummyAttribute::buildFormElement in tests/
linkit_test/ src/ Plugin/ Linkit/ Attribute/ ConfigurableDummyAttribute.php - The form element structure for this attribute to be used in the dialog.
- DummyAttribute::buildFormElement in tests/
linkit_test/ src/ Plugin/ Linkit/ Attribute/ DummyAttribute.php - The form element structure for this attribute to be used in the dialog.
- Id::buildFormElement in src/
Plugin/ Linkit/ Attribute/ Id.php - The form element structure for this attribute to be used in the dialog.
- Relationship::buildFormElement in src/
Plugin/ Linkit/ Attribute/ Relationship.php - The form element structure for this attribute to be used in the dialog.
File
- src/
AttributeInterface.php, line 76 - Contains \Drupal\linkit\AttributeInterface.
Class
- AttributeInterface
- Defines the interface for attributes plugins.
Namespace
Drupal\linkitCode
public function buildFormElement($default_value);