You are here

public function LanguageAddForm::actions in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/language/src/Form/LanguageAddForm.php \Drupal\language\Form\LanguageAddForm::actions()

Returns an array of supported actions for the current entity form.

@todo Consider introducing a 'preview' action here, since it is used by many entity types.

Overrides EntityForm::actions

File

core/modules/language/src/Form/LanguageAddForm.php, line 107
Contains \Drupal\language\Form\LanguageAddForm.

Class

LanguageAddForm
Controller for language addition forms.

Namespace

Drupal\language\Form

Code

public function actions(array $form, FormStateInterface $form_state) {

  // No actions needed.
  return array();
}