コード例 #1
0
ファイル: AddForm.php プロジェクト: eloiv/botafoc.cat
 /**
  * {@inheritdoc}
  */
 public function actions(array $form, FormStateInterface $form_state) {
   $actions = parent::actions($form, $form_state);
   $actions['submit']['#value'] = $this->t('Save and manage matchers');
   return $actions;
 }
コード例 #2
0
ファイル: EditForm.php プロジェクト: eloiv/botafoc.cat
 /**
  * {@inheritdoc}
  */
 protected function actions(array $form, FormStateInterface $form_state) {
   $actions = parent::actions($form, $form_state);
   $actions['submit']['#value'] = $this->t('Update profile');
   $actions['delete']['#value'] = $this->t('Delete profile');
   return $actions;
 }