Search for defaults

  1. Search 7.x for defaults
  2. Search 9.5.x for defaults
  3. Search 10.3.x for defaults
  4. Search 11.x for defaults
  5. Search main for defaults
  6. Other projects
Title Object type File name Summary
OverridesSectionStorageInterface::getDefaultSectionStorage function core/modules/layout_builder/src/OverridesSectionStorageInterface.php Returns the corresponding defaults section storage for this override.
OverridesSectionStorageTest::testGetDefaultSectionStorage function core/modules/layout_builder/tests/src/Kernel/OverridesSectionStorageTest.php @covers ::getDefaultSectionStorage[[api-linebreak]]
PluginBase::setOptionDefaults function core/modules/views/src/Plugin/views/PluginBase.php Fills up the options of the plugin with defaults.
PluginSettingsBase::$defaultSettingsMerged property core/lib/Drupal/Core/Field/PluginSettingsBase.php Whether default settings have been merged into the current $settings.
PluginSettingsBase::defaultSettings function core/lib/Drupal/Core/Field/PluginSettingsBase.php Defines the default settings for this plugin.
PluginSettingsBase::mergeDefaults function core/lib/Drupal/Core/Field/PluginSettingsBase.php Merges default settings values into $settings.
PluginSettingsInterface::defaultSettings function core/lib/Drupal/Core/Field/PluginSettingsInterface.php Defines the default settings for this plugin.
PluginTestBase::$defaultsTestPluginExpectedDefinitions property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
PluginTestBase::$defaultsTestPluginManager property core/tests/Drupal/KernelTests/Core/Plugin/PluginTestBase.php
ProfileExtensionList::$defaults property core/lib/Drupal/Core/Extension/ProfileExtensionList.php Default values to be merged into *.info.yml file arrays.
ResponsiveImageFormatter::defaultSettings function core/modules/responsive_image/src/Plugin/Field/FieldFormatter/ResponsiveImageFormatter.php Defines the default settings for this plugin.
RouteCompiler::getPathWithoutDefaults function core/lib/Drupal/Core/Routing/RouteCompiler.php Returns the path of the route, without placeholders with a default value.
RouteProviderTest::testOutlinePathMatchDefaults function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision2 function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find routes whose pattern would match the request.
RouteProviderTest::testOutlinePathMatchDefaultsCollision3 function core/tests/Drupal/KernelTests/Core/Routing/RouteProviderTest.php Confirms that we can find multiple routes that match the request equally.
ScaffoldTest::assertDefaultSettingsFromScaffoldOverride function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ScaffoldTest.php Asserts that the default settings file was overridden by the test.
Schema::$defaultSchema property core/lib/Drupal/Core/Database/Driver/sqlite/Schema.php Override DatabaseSchema::$defaultSchema
Schema::$defaultSchema property core/lib/Drupal/Core/Database/Schema.php Definition of prefixInfo array structure.
SearchConfigSettingsFormTest::assertDefaultSearch function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Checks that the default search page matches expectations.
SearchConfigSettingsFormTest::testDefaultSearchPageOrdering function core/modules/search/tests/src/Functional/SearchConfigSettingsFormTest.php Tests the ordering of search pages on a clean install.
SearchPage::isDefaultSearch function core/modules/search/src/Entity/SearchPage.php Determines if this search page entity is currently the default search.
SearchPageInterface::isDefaultSearch function core/modules/search/src/SearchPageInterface.php Determines if this search page entity is currently the default search.
SearchPageRepository::clearDefaultSearchPage function core/modules/search/src/SearchPageRepository.php Clears the default search page.
SearchPageRepository::getDefaultSearchPage function core/modules/search/src/SearchPageRepository.php Returns the default search page.
SearchPageRepository::setDefaultSearchPage function core/modules/search/src/SearchPageRepository.php Sets a given search page as the default.
SearchPageRepositoryInterface::clearDefaultSearchPage function core/modules/search/src/SearchPageRepositoryInterface.php Clears the default search page.
SearchPageRepositoryInterface::getDefaultSearchPage function core/modules/search/src/SearchPageRepositoryInterface.php Returns the default search page.
SearchPageRepositoryInterface::setDefaultSearchPage function core/modules/search/src/SearchPageRepositoryInterface.php Sets a given search page as the default.
SearchPageRepositoryTest::testClearDefaultSearchPage function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the clearDefaultSearchPage() method.
SearchPageRepositoryTest::testGetDefaultSearchPageWithActiveDefault function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the getDefaultSearchPage() method when the default is active.
SearchPageRepositoryTest::testGetDefaultSearchPageWithInactiveDefault function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the getDefaultSearchPage() method when the default is inactive.
SearchPageRepositoryTest::testSetDefaultSearchPage function core/modules/search/tests/src/Unit/SearchPageRepositoryTest.php Tests the setDefaultSearchPage() method.
SelectTableSortDefaultTest::testTableSortDefaultSort function core/modules/system/tests/src/Functional/Database/SelectTableSortDefaultTest.php Confirms that tableselect is rendered without error.
ShapeItem::defaultStorageSettings function core/modules/system/tests/modules/entity_test/src/Plugin/Field/FieldType/ShapeItem.php Defines the storage-level settings for this plugin.
ShortcutSetStorage::getDefaultSet function core/modules/shortcut/src/ShortcutSetStorage.php Gets the default shortcut set for a given user account.
ShortcutSetStorageInterface::getDefaultSet function core/modules/shortcut/src/ShortcutSetStorageInterface.php Gets the default shortcut set for a given user account.
SqlContentEntityStorageSchema::addTableDefaults function core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php Adds defaults to a table schema definition.
StringFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Defines the default settings for this plugin.
StringItem::defaultStorageSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItem.php Defines the storage-level settings for this plugin.
StringItemBase::defaultStorageSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldType/StringItemBase.php Defines the storage-level settings for this plugin.
StringTextareaWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextareaWidget.php Defines the default settings for this plugin.
StringTextfieldWidget::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldWidget/StringTextfieldWidget.php Defines the default settings for this plugin.
TelephoneDefaultWidget::defaultSettings function core/modules/telephone/src/Plugin/Field/FieldWidget/TelephoneDefaultWidget.php Defines the default settings for this plugin.
TelephoneLinkFormatter::defaultSettings function core/modules/telephone/src/Plugin/Field/FieldFormatter/TelephoneLinkFormatter.php Defines the default settings for this plugin.
TestControllers::testDefaults function core/modules/system/tests/modules/menu_test/src/TestControllers.php Prints out test data.
TestFieldDefaultFormatter::defaultSettings function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldDefaultFormatter.php Defines the default settings for this plugin.
TestFieldEmptyFormatter::defaultSettings function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptyFormatter.php Defines the default settings for this plugin.
TestFieldEmptySettingFormatter::defaultSettings function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldEmptySettingFormatter.php Defines the default settings for this plugin.
TestFieldMultipleFormatter::defaultSettings function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldMultipleFormatter.php Defines the default settings for this plugin.

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