Search for format

  1. Search 7.x for format
  2. Search 9.5.x for format
  3. Search 8.9.x for format
  4. Search 11.x for format
  5. Other projects
Title Object type File name Summary
DateFormat.php file core/lib/Drupal/Core/Datetime/Entity/DateFormat.php
DateFormat.php file core/modules/config_translation/src/FormElement/DateFormat.php
DateFormat::$id property core/lib/Drupal/Core/Datetime/Entity/DateFormat.php The date format machine name.
DateFormat::$label property core/lib/Drupal/Core/Datetime/Entity/DateFormat.php The human-readable name of the date format entity.
DateFormat::$locked property core/lib/Drupal/Core/Datetime/Entity/DateFormat.php The locked status of this date format.
DateFormat::$pattern property core/lib/Drupal/Core/Datetime/Entity/DateFormat.php The date format pattern.
DateFormat::getCacheTagsToInvalidate function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Returns the cache tags that should be used to invalidate caches.
DateFormat::getPattern function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Gets the date pattern string for this format.
DateFormat::getTranslationElement function core/modules/config_translation/src/FormElement/DateFormat.php Returns the translation form element for a given configuration definition.
DateFormat::isLocked function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Determines if this date format is locked.
DateFormat::setPattern function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Sets the date pattern for this format.
DateFormat::sort function core/lib/Drupal/Core/Datetime/Entity/DateFormat.php Helper callback for uasort() to sort configuration entities by weight and label.
DateFormatAccessControlHandler class core/modules/system/src/DateFormatAccessControlHandler.php Defines the access control handler for the date format entity type.
DateFormatAccessControlHandler.php file core/modules/system/src/DateFormatAccessControlHandler.php
DateFormatAccessControlHandler::$viewLabelOperation property core/modules/system/src/DateFormatAccessControlHandler.php Allows to grant access to just the labels.
DateFormatAccessControlHandler::checkAccess function core/modules/system/src/DateFormatAccessControlHandler.php Performs access checks.
DateFormatAccessControlHandlerTest class core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php @coversDefaultClass \Drupal\system\DateFormatAccessControlHandler
@group system
DateFormatAccessControlHandlerTest.php file core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
DateFormatAccessControlHandlerTest::$accessControlHandler property core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php The date_format access control handler.
DateFormatAccessControlHandlerTest::$modules property core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php Modules to install.
DateFormatAccessControlHandlerTest::setUp function core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
DateFormatAccessControlHandlerTest::testAccess function core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php @covers ::checkAccess
@covers ::checkCreateAccess
@dataProvider testAccessProvider
DateFormatAccessControlHandlerTest::testAccessProvider function core/modules/system/tests/src/Kernel/DateFormatAccessControlHandlerTest.php
DateFormatAddForm class core/modules/system/src/Form/DateFormatAddForm.php Provides a form for adding a date format.
DateFormatAddForm.php file core/modules/system/src/Form/DateFormatAddForm.php
DateFormatAddForm::actions function core/modules/system/src/Form/DateFormatAddForm.php Returns an array of supported actions for the current entity form.
DateFormatDeleteForm class core/modules/system/src/Form/DateFormatDeleteForm.php Builds a form to delete a date format.
DateFormatDeleteForm.php file core/modules/system/src/Form/DateFormatDeleteForm.php
DateFormatDeleteForm::$dateFormatter property core/modules/system/src/Form/DateFormatDeleteForm.php The date formatter service.
DateFormatDeleteForm::create function core/modules/system/src/Form/DateFormatDeleteForm.php Instantiates a new instance of this class.
DateFormatDeleteForm::getQuestion function core/modules/system/src/Form/DateFormatDeleteForm.php
DateFormatDeleteForm::__construct function core/modules/system/src/Form/DateFormatDeleteForm.php Constructs a DateFormatDeleteForm object.
DateFormatEditForm class core/modules/system/src/Form/DateFormatEditForm.php Provides a form for editing a date format.
DateFormatEditForm.php file core/modules/system/src/Form/DateFormatEditForm.php
DateFormatEditForm::actions function core/modules/system/src/Form/DateFormatEditForm.php Returns an array of supported actions for the current entity form.
DateFormatEditForm::create function core/modules/system/src/Form/DateFormatEditForm.php Instantiates a new instance of this class.
DateFormatEditForm::form function core/modules/system/src/Form/DateFormatEditForm.php Gets the actual form array to be built.
DateFormatEditForm::__construct function core/modules/system/src/Form/DateFormatEditForm.php Constructs a DateFormatEditForm object.
DateFormatFormBase class core/modules/system/src/Form/DateFormatFormBase.php Provides a base form for date formats.
DateFormatFormBase.php file core/modules/system/src/Form/DateFormatFormBase.php
DateFormatFormBase::$dateFormatStorage property core/modules/system/src/Form/DateFormatFormBase.php The date format storage.
DateFormatFormBase::$dateFormatter property core/modules/system/src/Form/DateFormatFormBase.php The date formatter service.
DateFormatFormBase::create function core/modules/system/src/Form/DateFormatFormBase.php Instantiates a new instance of this class.
DateFormatFormBase::exists function core/modules/system/src/Form/DateFormatFormBase.php Checks for an existing date format.
DateFormatFormBase::form function core/modules/system/src/Form/DateFormatFormBase.php Gets the actual form array to be built.
DateFormatFormBase::save function core/modules/system/src/Form/DateFormatFormBase.php Form submission handler for the 'save' action.
DateFormatFormBase::submitForm function core/modules/system/src/Form/DateFormatFormBase.php This is the default entity object builder function. It is called before any
other submit handler to build the new entity object to be used by the
following submit handlers. At this point of the form workflow the entity is
validated and the form state…
DateFormatFormBase::validateForm function core/modules/system/src/Form/DateFormatFormBase.php Form validation handler.
DateFormatFormBase::__construct function core/modules/system/src/Form/DateFormatFormBase.php Constructs a new date format form.
DateFormatInterface interface core/lib/Drupal/Core/Datetime/DateFormatInterface.php Provides an interface defining a date format.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.