function Value::getInfo

Same name in other branches
  1. 8.9.x core/lib/Drupal/Core/Render/Element/Value.php \Drupal\Core\Render\Element\Value::getInfo()
  2. 10 core/lib/Drupal/Core/Render/Element/Value.php \Drupal\Core\Render\Element\Value::getInfo()
  3. 11.x core/lib/Drupal/Core/Render/Element/Value.php \Drupal\Core\Render\Element\Value::getInfo()

Overrides ElementInterface::getInfo

File

core/lib/Drupal/Core/Render/Element/Value.php, line 27

Class

Value
Provides a form element for storage of internal information.

Namespace

Drupal\Core\Render\Element

Code

public function getInfo() {
    return [
        '#input' => TRUE,
    ];
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.