Search for format

  1. Search 7.x for format
  2. Search 8.9.x for format
  3. Search 10.3.x for format
  4. Search 11.x for format
  5. Other projects
Title Object type File name Summary
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 enable.
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::form function core/modules/system/src/Form/DateFormatEditForm.php Gets the actual form array to be built.
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.
DateFormatHalJsonAnonTest class core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonAnonTest.php @group hal
@group legacy
DateFormatHalJsonAnonTest.php file core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonAnonTest.php
DateFormatHalJsonAnonTest::$defaultTheme property core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonAnonTest.php The theme to install as the default for testing.
DateFormatHalJsonAnonTest::$format property core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonAnonTest.php The format to use in this test.
DateFormatHalJsonAnonTest::$mimeType property core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonAnonTest.php The MIME type that corresponds to $format.
DateFormatHalJsonAnonTest::$modules property core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonAnonTest.php Modules to install.
DateFormatHalJsonBasicAuthTest class core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonBasicAuthTest.php @group hal
@group legacy
DateFormatHalJsonBasicAuthTest.php file core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonBasicAuthTest.php
DateFormatHalJsonBasicAuthTest::$auth property core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonBasicAuthTest.php The authentication mechanism to use in this test.
DateFormatHalJsonBasicAuthTest::$defaultTheme property core/modules/hal/tests/src/Functional/Core/DateFormatHalJsonBasicAuthTest.php The theme to install as the default for testing.

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