function Submit::getInfo

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

Overrides Button::getInfo

1 call to Submit::getInfo()
ImageButton::getInfo in core/lib/Drupal/Core/Render/Element/ImageButton.php
Returns the element properties for this element.
1 method overrides Submit::getInfo()
ImageButton::getInfo in core/lib/Drupal/Core/Render/Element/ImageButton.php
Returns the element properties for this element.

File

core/lib/Drupal/Core/Render/Element/Submit.php, line 35

Class

Submit
Provides a form submit button.

Namespace

Drupal\Core\Render\Element

Code

public function getInfo() {
    return [
        '#executes_submit_callback' => TRUE,
    ] + parent::getInfo();
}

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