public FormBuilder::renderPlaceholderFormAction()
#lazy_builder callback; renders a form action URL.
array A renderable array representing the form action.
public function renderPlaceholderFormAction() { return [ '#type' => 'markup', '#markup' => $this->buildFormAction(), '#cache' => ['contexts' => ['url.path', 'url.query_args']], ]; }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Form!FormBuilder.php/function/FormBuilder::renderPlaceholderFormAction/8.1.x