5 * Contains \Drupal\linkit\Plugin\Linkit\Attribute\Relationship.
8 namespace Drupal\linkit\Plugin\Linkit\Attribute;
10 use Drupal\linkit\AttributeBase;
13 * Relationship attribute.
16 * id = "relationship",
17 * label = @Translation("Relationship"),
19 * description = @Translation("Basic input field for the relationship attribute."),
22 class Relationship extends AttributeBase {
27 public function buildFormElement($default_value) {
29 '#type' => 'textfield',
30 '#title' => t('Relationship'),
31 '#default_value' => $default_value,
34 '#placeholder' => t('The "rel" attribute value'),