Skip to content
Snippets Groups Projects
Unverified Commit 284b4202 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #2772251 by msankhala, markpavlitski, joachim: description for...

Issue #2772251 by msankhala, markpavlitski, joachim: description for EntityForm::actions() could use rewording
parent 7896891d
Branches
Tags
2 merge requests!7452Issue #1797438. HTML5 validation is preventing form submit and not fully...,!789Issue #3210310: Adjust Database API to remove deprecated Drupal 9 code in Drupal 10
......@@ -221,6 +221,17 @@ protected function actionsElement(array $form, FormStateInterface $form_state) {
/**
* Returns an array of supported actions for the current entity form.
*
* This function generates a list of Form API elements which represent
* actions supported by the current entity form.
*
* @param array $form
* An associative array containing the structure of the form.
* @param \Drupal\Core\Form\FormStateInterface $form_state
* The current state of the form.
*
* @return array
* An array of supported Form API action elements keyed by name.
*
* @todo Consider introducing a 'preview' action here, since it is used by
* many entity types.
*/
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment