You are here

public function ScssFontFamily::getInfo in SCSS Compiler 1.0.x

Returns the element properties for this element.

Return value

array An array of element properties. See \Drupal\Core\Render\ElementInfoManagerInterface::getInfo() for documentation of the standard properties of all elements, and the return value format.

Overrides ElementInterface::getInfo

File

src/Element/ScssFontFamily.php, line 93

Class

ScssFontFamily
A form element to represent font families.

Namespace

Drupal\compiler_scss\Element

Code

public function getInfo() {
  return [
    '#children' => [],
    '#element_validate' => [
      [
        get_class(),
        'validateFontFamily',
      ],
    ],
    '#input' => TRUE,
    '#maxlength' => NULL,
    '#required' => FALSE,
    '#size' => 60,
    '#theme' => 'container',
    '#theme_wrappers' => [
      'form_element',
    ],
    '#title' => NULL,
    '#tree' => TRUE,
    '#process' => [
      [
        get_class(),
        'processFontFamily',
      ],
      [
        get_class(),
        'processAjaxForm',
      ],
    ],
  ];
}