protected function BlockFormController::actions

Overrides \Drupal\Core\Entity\EntityFormController::actions().

Overrides EntityFormController::actions

File

drupal/core/modules/block/lib/Drupal/block/BlockFormController.php, line 184
Contains \Drupal\block\BlockFormController.

Class

BlockFormController
Provides form controller for block instance forms.

Namespace

Drupal\block

Code

protected function actions(array $form, array &$form_state) {
  $actions = parent::actions($form, $form_state);
  $actions['submit']['#value'] = t('Save block');
  return $actions;
}