60 string references to 'Datetime'
- DateField::defineValueProcessPipeline in core/
modules/ datetime/ src/ Plugin/ migrate/ field/ DateField.php - Apply any custom processing to the field bundle migrations.
- DateField::getFieldType in core/
modules/ datetime/ src/ Plugin/ migrate/ field/ DateField.php - Computes the destination type of a migrated field.
- DateFieldTest::providerTestDefineValueProcessPipeline in core/
modules/ datetime/ tests/ src/ Unit/ Plugin/ migrate/ field/ DateFieldTest.php - Provides data for testDefineValueProcessPipeline().
- DateFilterTest::setUp in core/
modules/ datetime/ tests/ src/ Functional/ DateFilterTest.php - Sets up the test.
- datetime.info.yml in core/
modules/ datetime/ datetime.info.yml - core/modules/datetime/datetime.info.yml
- datetime.migrate_drupal.yml in core/
modules/ datetime/ migrations/ state/ datetime.migrate_drupal.yml - core/modules/datetime/migrations/state/datetime.migrate_drupal.yml
- Datetime::getHtml5DateFormat in core/
lib/ Drupal/ Core/ Datetime/ Element/ Datetime.php - Retrieves the right format for an HTML5 date element.
- DateTimeDatelistWidget::formElement in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDatelistWidget.php - Returns the form for a single field widget.
- DateTimeDatelistWidget::settingsForm in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDatelistWidget.php - Returns a form to configure settings for the widget.
- DateTimeDatelistWidget::settingsSummary in core/
modules/ datetime/ src/ Plugin/ Field/ FieldWidget/ DateTimeDatelistWidget.php - Returns a short summary for the current widget settings.
- DateTimeFieldTest::getTestFieldType in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Returns the type of field to be tested.
- DateTimeFieldTest::testDatelistWidget in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests Date List Widget functionality.
- DateTimeFieldTest::testDateStorageSettings in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests that 'Date' field storage setting form is disabled if field has data.
- DateTimeFieldTest::testDatetimeField in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests date and time field.
- DateTimeFieldTest::testDefaultValue in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests default value functionality.
- DateTimeFieldTest::testInvalidField in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeFieldTest.php - Tests that invalid values are caught and marked as invalid.
- DateTimeItem::defaultStorageSettings in core/
modules/ datetime/ src/ Plugin/ Field/ FieldType/ DateTimeItem.php - Defines the storage-level settings for this plugin.
- DateTimeItemTest::setUp in core/
modules/ datetime/ tests/ src/ Kernel/ DateTimeItemTest.php - Set the default field storage backend for fields created during tests.
- DateTimePlusTest::testGetPhpDateTime in core/
tests/ Drupal/ Tests/ Component/ Datetime/ DateTimePlusTest.php - @covers ::getPhpDateTime
- DateTimeTest::testEnteringDateTimeViaSelectors in core/
modules/ system/ tests/ src/ Functional/ System/ DateTimeTest.php - Tests handling case with invalid data in selectors (like February, 31st).
- DateTimeTimeAgoFormatterTest::setUp in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeTimeAgoFormatterTest.php - DateTimeWidgetTest::getTestFieldType in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeWidgetTest.php - Returns the type of field to be tested.
- DateTimeWidgetTest::testDateonlyDefaultValue in core/
modules/ datetime/ tests/ src/ Functional/ DateTimeWidgetTest.php - Test default value functionality.
- datetime_range_field_views_data in core/
modules/ datetime_range/ datetime_range.views.inc - Implements hook_field_views_data().
- datetime_type_field_views_data_helper in core/
modules/ datetime/ datetime.views.inc - Provides Views integration for any datetime-based fields.
- DbDumpCommand::getTableSchema in core/
lib/ Drupal/ Core/ Command/ DbDumpCommand.php - Returns a schema array for a given table.
- demo_umami.info.yml in core/
profiles/ demo_umami/ demo_umami.info.yml - core/profiles/demo_umami/demo_umami.info.yml
- drupal7.php in core/
modules/ aggregator/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- drupal7.php in core/
modules/ migrate_drupal/ tests/ fixtures/ drupal7.php - A database agnostic dump for testing purposes.
- DrupalDateTimeTest::testGetPhpDateTime in core/
tests/ Drupal/ Tests/ Core/ Datetime/ DrupalDateTimeTest.php - @covers ::getPhpDateTime
- FieldBlockTest::setUp in core/
modules/ layout_builder/ tests/ src/ FunctionalJavascript/ FieldBlockTest.php - FieldImportDeleteUninstallUiTest::testImportDeleteUninstall in core/
modules/ field/ tests/ src/ Functional/ FieldImportDeleteUninstallUiTest.php - Tests deleting field storages and fields as part of config import.
- FieldSettings::getSettings in core/
modules/ field/ src/ Plugin/ migrate/ process/ d6/ FieldSettings.php - Merge the default D8 and specified D6 settings.
- FieldSettings::transform in core/
modules/ field/ src/ Plugin/ migrate/ process/ d7/ FieldSettings.php - Performs the associated process.
- FieldTypeDefaultsTest::testDefaults in core/
modules/ field/ tests/ src/ Unit/ Plugin/ migrate/ process/ d7/ FieldTypeDefaultsTest.php - Tests various default cases.
- FilterDateTest::setUp in core/
modules/ views/ tests/ src/ Functional/ Handler/ FilterDateTest.php - Sets up the test.
- FilterDateTest::setUp in core/
modules/ datetime/ tests/ src/ Functional/ Views/ FilterDateTest.php - Create nodes with relative dates of yesterday, today, and tomorrow.
- FormTest::testDisabledMarkup in core/
modules/ system/ tests/ src/ Functional/ Form/ FormTest.php - Verify markup for disabled form elements.
- FormTestDisabledElementsForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestDisabledElementsForm.php - Form constructor.
- FormTestLabelForm::buildForm in core/
modules/ system/ tests/ modules/ form_test/ src/ Form/ FormTestLabelForm.php - Form constructor.
- JsonApiRegressionTest::testPatchingDateTimeFieldsFromIssue3021194 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensures PATCHing datetime (both date-only & date+time) fields is possible.
- JsonApiRegressionTest::testPatchingDateTimeNormalizedWrongTimeZoneIssue3021194 in core/
modules/ jsonapi/ tests/ src/ Functional/ JsonApiRegressionTest.php - Ensures datetime fields are normalized using the correct timezone.
- MigrateFieldInstanceTest::testFieldInstanceMigration in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldInstanceTest.php - Tests migration of file variables to file.settings.yml.
- MigrateFieldInstanceTest::testFieldInstances in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldInstanceTest.php - Tests migrating D7 field instances to field_config entities.
- MigrateFieldPluginManagerTest::testPluginSelection in core/
modules/ migrate_drupal/ tests/ src/ Kernel/ MigrateFieldPluginManagerTest.php - Tests that the correct MigrateField plugins are used.
- MigrateFieldTest::testFields in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d6/ MigrateFieldTest.php - Tests the Drupal 6 field to Drupal 8 migration.
- MigrateFieldTest::testFields in core/
modules/ field/ tests/ src/ Kernel/ Migrate/ d7/ MigrateFieldTest.php - Tests migrating D7 fields to field_storage_config entities.
- MigrateUserProfileFieldTest::testUserProfileFields in core/
modules/ user/ tests/ src/ Kernel/ Migrate/ d6/ MigrateUserProfileFieldTest.php - Tests migration of user profile fields.
- MigrationProvidersExistTest::testFieldProvidersExist in core/
modules/ migrate/ tests/ src/ Kernel/ Plugin/ MigrationProvidersExistTest.php - Tests that modules exist for all field plugins.
- MigrationStateUnitTest::providerGetUpgradeStates in core/
modules/ migrate_drupal/ tests/ src/ Unit/ MigrationStateUnitTest.php - Data provider for testGetUpgradeStates.
- SchemaTest::testSchema in core/
tests/ Drupal/ KernelTests/ Core/ Database/ SchemaTest.php - Tests database interactions.
- standard.info.yml in core/
profiles/ standard/ standard.info.yml - core/profiles/standard/standard.info.yml
- TimezoneTest::testDatetimeElementTimesUnderstoodCorrectly in core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ Element/ TimezoneTest.php - Tests datetime elements interpret their times correctly when saving.
- TimezoneTest::testDatetimeTimezonePropertyProcessed in core/
tests/ Drupal/ KernelTests/ Core/ Datetime/ Element/ TimezoneTest.php - On datetime elements test #date_timezone after ::processDatetime.
- UpdatePathTestBaseFilledTest::testUpdatedSite in core/
modules/ system/ tests/ src/ Functional/ UpdateSystem/ UpdatePathTestBaseFilledTest.php - Tests that the content and configuration were properly updated.
- user_profile_field.yml in core/
modules/ user/ migrations/ user_profile_field.yml - core/modules/user/migrations/user_profile_field.yml
- views.view.test_exposed_filter_datetime.yml in core/
modules/ datetime/ tests/ modules/ datetime_test/ test_views/ views.view.test_exposed_filter_datetime.yml - core/modules/datetime/tests/modules/datetime_test/test_views/views.view.test_exposed_filter_datetime.yml
- views.view.test_filter_datetime.yml in core/
modules/ datetime/ tests/ modules/ datetime_test/ test_views/ views.view.test_filter_datetime.yml - core/modules/datetime/tests/modules/datetime_test/test_views/views.view.test_filter_datetime.yml
- views.view.test_sort_datetime.yml in core/
modules/ datetime/ tests/ modules/ datetime_test/ test_views/ views.view.test_sort_datetime.yml - core/modules/datetime/tests/modules/datetime_test/test_views/views.view.test_sort_datetime.yml
- Xss::attributes in core/
lib/ Drupal/ Component/ Utility/ Xss.php - Processes a string of HTML attributes.
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.