5 * Contains \Drupal\linkit\Plugin\Linkit\Attribute\Clazz.
8 namespace Drupal\linkit\Plugin\Linkit\Attribute;
10 use Drupal\linkit\AttributeBase;
15 * @TODO: For now Drupal filter_html wont support class attributes with
17 * See: \Drupal\filter\Plugin\Filter\FilterHtml::getHTMLRestrictions
18 * See: core/modules/filter/filter.filter_html.admin.js
22 * label = @Translation("Class"),
23 * html_name = "class",
24 * description = @Translation("Basic input field for the class attribute."),
27 //class Clazz extends AttributeBase {
32 // public function buildFormElement($default_value) {
34 // '#type' => 'textfield',
35 // '#title' => t('Class'),
36 // '#maxlength' => 255,