public FormBuilder::renderPlaceholderFormAction()
#lazy_builder callback; renders a form action URL.
Return value
array A renderable array representing the form action.
File
- core/lib/Drupal/Core/Form/FormBuilder.php, line 643
Class
- FormBuilder
- Provides form building and processing.
Namespace
Drupal\Core\Form
Code
public function renderPlaceholderFormAction() { return [ '#type' => 'markup', '#markup' => $this->buildFormAction(), '#cache' => ['contexts' => ['url.path', 'url.query_args']], ]; }
Please login to continue.