Updated to Drupal 8.6.4, which is PHP 7.3 friendly. Also updated HTMLaw library....
[yaffs-website] / web / core / modules / system / src / Form / DateFormatAddForm.php
1 <?php
2
3 namespace Drupal\system\Form;
4
5 use Drupal\Core\Form\FormStateInterface;
6
7 /**
8  * Provides a form for adding a date format.
9  *
10  * @internal
11  */
12 class 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'] = t('Add format');
20     return $actions;
21   }
22
23 }