Search for __get

  1. Search 7.x for __get
  2. Search 9.5.x for __get
  3. Search 8.9.x for __get
  4. Search 11.x for __get
  5. Other projects
Title Object type File name Summary
DateRangeFieldTest::getTestFieldType function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Returns the type of field to be tested.
DateRangeFieldTest::testDatelistWidget function core/modules/datetime_range/tests/src/Functional/DateRangeFieldTest.php Tests Date Range List Widget functionality.
DateRangeWidgetBase class core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Base class for the 'daterange_*' widgets.
DateRangeWidgetBase.php file core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php
DateRangeWidgetBase::formElement function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Returns the form for a single field widget.
DateRangeWidgetBase::massageFormValues function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php Massages the form values into the format expected for field values.
DateRangeWidgetBase::validateStartEnd function core/modules/datetime_range/src/Plugin/Field/FieldWidget/DateRangeWidgetBase.php #element_validate callback to ensure that the start date <= the end date.
DateSqlInterface::getDateField function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Returns a native database expression for a given field.
DateSqlInterface::getDateFormat function core/modules/views/src/Plugin/views/query/DateSqlInterface.php Creates a native database date formatting.
DateTest::testGetSampleDateFormats function core/tests/Drupal/Tests/Core/Datetime/DateTest.php Tests the getSampleDateFormats method.
DateTestBase::getTestFieldType function core/modules/datetime/tests/src/Functional/DateTestBase.php Returns the type of field to be tested.
DateTestBase::massageTestDate function core/modules/datetime/tests/src/Functional/DateTestBase.php Massages test date values.
Datetime::getHtml5DateFormat function core/lib/Drupal/Core/Datetime/Element/Datetime.php Retrieves the right format for an HTML5 date element.
Datetime::getHtml5TimeFormat function core/lib/Drupal/Core/Datetime/Element/Datetime.php Retrieves the right format for an HTML5 time element.
Datetime::getInfo function core/lib/Drupal/Core/Datetime/Element/Datetime.php Returns the element properties for this element.
DateTimeComputed::getValue function core/modules/datetime/src/DateTimeComputed.php Gets the data value.
DateTimeDatelistWidget class core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Plugin implementation of the 'datetime_datelist' widget.
DateTimeDatelistWidget.php file core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php
DateTimeDatelistWidget::defaultSettings function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Defines the default settings for this plugin.
DateTimeDatelistWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Returns the form for a single field widget.
DateTimeDatelistWidget::settingsForm function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Returns a form to configure settings for the widget.
DateTimeDatelistWidget::settingsSummary function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDatelistWidget.php Returns a short summary for the current widget settings.
DateTimeDefaultWidget class core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Plugin implementation of the 'datetime_default' widget.
DateTimeDefaultWidget.php file core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php
DateTimeDefaultWidget::$dateStorage property core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php The date format storage.
DateTimeDefaultWidget::create function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Creates an instance of the plugin.
DateTimeDefaultWidget::formElement function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Returns the form for a single field widget.
DateTimeDefaultWidget::__construct function core/modules/datetime/src/Plugin/Field/FieldWidget/DateTimeDefaultWidget.php Constructs a WidgetBase object.
DatetimeElementFormTest::getFormId function core/tests/Drupal/KernelTests/Core/Datetime/DatetimeElementFormTest.php Returns a unique string identifying the form.
DateTimeFieldTest::getTestFieldType function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Returns the type of field to be tested.
DateTimeFieldTest::testDatelistWidget function core/modules/datetime/tests/src/Functional/DateTimeFieldTest.php Tests Date List Widget functionality.
DateTimeFormatterBase::getFormatSettings function core/modules/datetime/src/Plugin/Field/FieldFormatter/DateTimeFormatterBase.php Gets a settings array suitable for DrupalDateTime::format().
DateTimeFormInjectionTest::getFormId function core/modules/datetime/tests/src/Kernel/DateTimeFormInjectionTest.php Returns a unique string identifying the form.
DateTimeHandlerTestBase::getRelativeDateValuesFromTimestamp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Returns an array formatted date_only values relative to timestamp.
DateTimeHandlerTestBase::getUTCEquivalentOfUserNowAsTimestamp function core/modules/datetime/tests/src/Kernel/Views/DateTimeHandlerTestBase.php Returns UTC timestamp of user's TZ 'now'.
DateTimeInterface::getDateTime function core/lib/Drupal/Core/TypedData/Type/DateTimeInterface.php Returns the date time object.
DateTimeIso8601::getDateTime function core/lib/Drupal/Core/TypedData/Plugin/DataType/DateTimeIso8601.php Returns the date time object.
DateTimeIso8601Normalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/DateTimeIso8601Normalizer.php
DateTimeIso8601NormalizerTest::testDenormalizeNoTargetInstanceOrFieldDefinitionException function core/modules/serialization/tests/src/Unit/Normalizer/DateTimeIso8601NormalizerTest.php Tests the denormalize function with incomplete serialization context.
DateTimeNormalizer::getNormalizationTimezone function core/modules/serialization/src/Normalizer/DateTimeNormalizer.php Gets the timezone to be used during normalization.
DateTimeNormalizer::getSupportedTypes function core/modules/serialization/src/Normalizer/DateTimeNormalizer.php
DateTimePlus::getErrors function core/lib/Drupal/Component/Datetime/DateTimePlus.php Gets error messages.
DateTimePlus::getPhpDateTime function core/lib/Drupal/Component/Datetime/DateTimePlus.php Gets a clone of the proxied PHP \DateTime object wrapped by this class.
DateTimePlusTest::testGetPhpDateTime function core/tests/Drupal/Tests/Component/Datetime/DateTimePlusTest.php @covers ::getPhpDateTime[[api-linebreak]]
DateTimeRangeTrait trait core/modules/datetime_range/src/DateTimeRangeTrait.php Provides friendly methods for datetime range.
DateTimeRangeTrait.php file core/modules/datetime_range/src/DateTimeRangeTrait.php
DateTimeRangeTrait::dateTimeRangeDefaultSettings function core/modules/datetime_range/src/DateTimeRangeTrait.php Get the default settings for a date and time range display.
DateTimeRangeTrait::dateTimeRangeSettingsForm function core/modules/datetime_range/src/DateTimeRangeTrait.php Configuration form for date time range.
DateTimeRangeTrait::dateTimeRangeSettingsSummary function core/modules/datetime_range/src/DateTimeRangeTrait.php Gets the date time range settings summary.
DateTimeRangeTrait::endDateIsDisplayed function core/modules/datetime_range/src/DateTimeRangeTrait.php Gets whether the end date should be displayed.

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