Search for date

  1. Search 7.x for date
  2. Search 8.9.x for date
  3. Search 10.3.x for date
  4. Search 11.x for date
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Date class core/modules/views/src/Plugin/views/sort/Date.php Basic sort handler for dates.
Date class core/modules/views/src/Plugin/views/field/Date.php A handler to provide proper displays for dates.
Date class core/modules/views/src/Plugin/views/filter/Date.php Filter to handle dates stored as a timestamp.
Date class core/modules/views/src/Plugin/views/argument/Date.php Argument handler for dates.
Date class core/modules/datetime/src/Plugin/views/sort/Date.php Basic sort handler for datetime fields.
Date class core/modules/datetime/src/Plugin/views/filter/Date.php Date/time views filter.
Date class core/modules/datetime/src/Plugin/views/argument/Date.php Abstract argument handler for dates.
Date class core/lib/Drupal/Core/Render/Element/Date.php Provides a form element for date selection.

All search results

Title Object type File name Summary
Date::getDateField function core/modules/datetime/src/Plugin/views/sort/Date.php Override to account for dates stored as strings.
Date::getDateField function core/modules/datetime/src/Plugin/views/argument/Date.php Creates cross-database SQL dates.
Date::getDateFormat function core/modules/datetime/src/Plugin/views/sort/Date.php Overridden in order to pass in the string date flag.
Date::getDateFormat function core/modules/datetime/src/Plugin/views/argument/Date.php Creates cross-database SQL date formatting.
Date::getDefaultArgument function core/modules/views/src/Plugin/views/argument/Date.php Gets the date default argument, formatted appropriately for this argument.
Date::getFormula function core/modules/views/src/Plugin/views/argument/Date.php
Date::getInfo function core/lib/Drupal/Core/Render/Element/Date.php Returns the element properties for this element.
Date::getOffset function core/modules/datetime/src/Plugin/views/filter/Date.php Get the proper offset from UTC to use in computations.
Date::getSortName function core/modules/views/src/Plugin/views/argument/Date.php Return a description of how the argument would normally be sorted.
Date::getTimezone function core/modules/datetime/src/Plugin/views/filter/Date.php Get the proper time zone to use in computations.
Date::hasValidGroupedValue function core/modules/views/src/Plugin/views/filter/Date.php Determines if the given grouped filter entry has a valid value.
Date::opBetween function core/modules/views/src/Plugin/views/filter/Date.php Filters by operator between.
Date::opBetween function core/modules/datetime/src/Plugin/views/filter/Date.php Override parent method, which deals with dates as integers.
Date::opSimple function core/modules/datetime/src/Plugin/views/filter/Date.php Override parent method, which deals with dates as integers.
Date::opSimple function core/modules/views/src/Plugin/views/filter/Date.php
Date::preRenderDate function core/lib/Drupal/Core/Render/Element/Date.php Adds form-specific attributes to a 'date' #type element.
Date::processDate function core/lib/Drupal/Core/Render/Element/Date.php Processes a date form element.
Date::query function core/modules/views/src/Plugin/views/sort/Date.php Called to add the sort to a query.
Date::render function core/modules/views/src/Plugin/views/field/Date.php Renders the field.
Date::validateExposed function core/modules/views/src/Plugin/views/filter/Date.php Validate the exposed handler form.
Date::validateOptionsForm function core/modules/views/src/Plugin/views/filter/Date.php Simple validate handler.
Date::validateValidTime function core/modules/views/src/Plugin/views/filter/Date.php Validate that the time values convert to something usable.
Date::valueForm function core/modules/views/src/Plugin/views/filter/Date.php Add a type selector to the value form.
Date::__construct function core/modules/views/src/Plugin/views/field/Date.php Constructs a new Date object.
Date::__construct function core/modules/datetime/src/Plugin/views/sort/Date.php Constructs a Handler object.
Date::__construct function core/modules/datetime/src/Plugin/views/filter/Date.php Constructs a new Date handler.
Date::__construct function core/modules/datetime/src/Plugin/views/argument/Date.php Constructs a new Date instance.
Date::__construct function core/modules/views/src/Plugin/views/argument/Date.php Constructs a new Date instance.
DateElementBase class core/lib/Drupal/Core/Datetime/Element/DateElementBase.php Provides a base class for date elements.
DateElementBase.php file core/lib/Drupal/Core/Datetime/Element/DateElementBase.php
DateElementBase::datetimeRangeYears function core/lib/Drupal/Core/Datetime/Element/DateElementBase.php Specifies the start and end year to use as a date range.
DateElementBase::getElementTitle function core/lib/Drupal/Core/Datetime/Element/DateElementBase.php Returns the most relevant title of a datetime element.
DateElementTest class core/tests/Drupal/Tests/Core/Render/Element/DateElementTest.php @coversDefaultClass \Drupal\Core\Render\Element\Date
@group Render
DateElementTest.php file core/tests/Drupal/Tests/Core/Render/Element/DateElementTest.php
DateElementTest::testProcessDate function core/tests/Drupal/Tests/Core/Render/Element/DateElementTest.php @covers ::processDate
@group legacy
DateField class core/modules/datetime/src/Plugin/migrate/field/DateField.php Provides a field plugin for date and time fields.
DateField.php file core/modules/datetime/src/Plugin/migrate/field/DateField.php
DateField::defineValueProcessPipeline function core/modules/datetime/src/Plugin/migrate/field/DateField.php Apply any custom processing to the field bundle migrations.
DateField::getFieldFormatterMap function core/modules/datetime/src/Plugin/migrate/field/DateField.php Get a map between D6 formatters and D8 formatters for this field type.
DateField::getFieldType function core/modules/datetime/src/Plugin/migrate/field/DateField.php Computes the destination type of a migrated field.
DateField::getFieldWidgetMap function core/modules/datetime/src/Plugin/migrate/field/DateField.php Get a map between D6 and D8 widgets for this field type.
DateFieldTest class core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php Provides unit tests for the DateField Plugin.
DateFieldTest.php file core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php
DateFieldTest::providerTestDefineValueProcessPipeline function core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php Provides data for testDefineValueProcessPipeline().
DateFieldTest::testDefineValueProcessPipeline function core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php Tests defineValueProcessPipeline.
DateFieldTest::testDefineValueProcessPipelineException function core/modules/datetime/tests/src/Unit/Plugin/migrate/field/DateFieldTest.php Tests invalid date types throw an exception.
DateFilterTest class core/modules/datetime/tests/src/Functional/DateFilterTest.php Test exposed datetime filters functionality.
DateFilterTest.php file core/modules/datetime/tests/src/Functional/DateFilterTest.php
DateFilterTest::$adminUser property core/modules/datetime/tests/src/Functional/DateFilterTest.php A user with permission to administer views.
DateFilterTest::$defaultTheme property core/modules/datetime/tests/src/Functional/DateFilterTest.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.