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