1<?php 2 3namespace Drupal\system\Form; 4 5use Drupal\Core\Form\FormStateInterface; 6 7/** 8 * Provides a form for adding a date format. 9 * 10 * @internal 11 */ 12class DateFormatAddForm extends DateFormatFormBase { 13 14 /** 15 * {@inheritdoc} 16 */ 17 protected function actions(array $form, FormStateInterface $form_state) { 18 $actions = parent::actions($form, $form_state); 19 $actions['submit']['#value'] = $this->t('Add format'); 20 return $actions; 21 } 22 23} 24