Form.php in Drupal 8
Same filename and directory in other branches
Namespace
Drupal\Core\Render\ElementFile
core/lib/Drupal/Core/Render/Element/Form.phpView source
<?php
namespace Drupal\Core\Render\Element;
/**
* Provides a render element for a form.
*
* @RenderElement("form")
*/
class Form extends RenderElement {
/**
* {@inheritdoc}
*/
public function getInfo() {
return [
'#method' => 'post',
'#theme_wrappers' => [
'form',
],
];
}
}