Code Coverage |
||||||||||
Classes and Traits |
Functions and Methods |
Lines |
||||||||
Total | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
CRAP | |
0.00% |
0 / 4 |
DateFormatAddForm | |
0.00% |
0 / 1 |
|
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
actions | |
0.00% |
0 / 1 |
2 | |
0.00% |
0 / 4 |
<?php | |
/** | |
* @file | |
* Contains \Drupal\system\Form\DateFormatAddForm. | |
*/ | |
namespace Drupal\system\Form; | |
use Drupal\Core\Form\FormStateInterface; | |
/** | |
* Provides a form for adding a date format. | |
*/ | |
class DateFormatAddForm extends DateFormatFormBase { | |
/** | |
* {@inheritdoc} | |
*/ | |
protected function actions(array $form, FormStateInterface $form_state) { | |
$actions = parent::actions($form, $form_state); | |
$actions['submit']['#value'] = t('Add format'); | |
return $actions; | |
} | |
} |