DateFormatAddForm.php
Same filename in other branches
Namespace
Drupal\system\FormFile
-
core/
modules/ system/ src/ Form/ DateFormatAddForm.php
View source
<?php
namespace Drupal\system\Form;
use Drupal\Core\Form\FormStateInterface;
/**
* Provides a form for adding a date format.
*
* @internal
*/
class DateFormatAddForm extends DateFormatFormBase {
/**
* {@inheritdoc}
*/
protected function actions(array $form, FormStateInterface $form_state) {
$actions = parent::actions($form, $form_state);
$actions['submit']['#value'] = $this->t('Add format');
return $actions;
}
}
Classes
Title | Deprecated | Summary |
---|---|---|
DateFormatAddForm | Provides a form for adding a date format. |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.