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