Search for getDefault

  1. Search 7.x for getDefault
  2. Search 9.5.x for getDefault
  3. Search 8.9.x for getDefault
  4. Search 10.3.x for getDefault
  5. Other projects
Title Object type File name Summary
LocaleConfigManagerTest::testGetDefaultConfigLangcode function core/modules/locale/tests/src/Kernel/LocaleConfigManagerTest.php Tests getDefaultConfigLangcode().
Media::getDefaultThumbnailUri function core/modules/media/src/Entity/Media.php Returns the URI of the default thumbnail.
MenuLinkListBuilder::getDefaultOperations function core/modules/menu_link_content/src/MenuLinkListBuilder.php
MenuListBuilder::getDefaultOperations function core/modules/menu_ui/src/MenuListBuilder.php
ModerationInformation::getDefaultRevisionId function core/modules/content_moderation/src/ModerationInformation.php
ModerationInformationInterface::getDefaultRevisionId function core/modules/content_moderation/src/ModerationInformationInterface.php Returns the revision ID of the default revision for the specified entity.
ModerationInformationTest::testGetDefaultRevisionId function core/modules/content_moderation/tests/src/Kernel/ModerationInformationTest.php Tests get default revision id.
MultiWidthLayoutBase::getDefaultWidth function core/modules/layout_builder/src/Plugin/Layout/MultiWidthLayoutBase.php Provides a default value for the width options.
NodeAccessTest::testGetDefaultRevisionId function core/modules/content_moderation/tests/src/Kernel/NodeAccessTest.php Tests get default revision id.
NodeTypeListBuilder::getDefaultOperations function core/modules/node/src/NodeTypeListBuilder.php
OverridesSectionStorage::getDefaultSectionStorage function core/modules/layout_builder/src/Plugin/SectionStorage/OverridesSectionStorage.php
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 Tests get default section storage.
PhpStorageFactoryTest::testGetDefault function core/modules/system/tests/src/Kernel/PhpStorage/PhpStorageFactoryTest.php Tests the get() method using the 'default' settings.
PluginExistsConstraint::getDefaultOption function core/lib/Drupal/Core/Plugin/Plugin/Validation/Constraint/PluginExistsConstraint.php
RequestFormatRouteFilter::getDefaultFormat function core/lib/Drupal/Core/Routing/RequestFormatRouteFilter.php Determines the default request format.
RequiredConfigDependenciesConstraint::getDefaultOption function core/lib/Drupal/Core/Config/Plugin/Validation/Constraint/RequiredConfigDependenciesConstraint.php
ResponsiveImageStyleListBuilder::getDefaultOperations function core/modules/responsive_image/src/ResponsiveImageStyleListBuilder.php
RevisionLink::getDefaultLabel function core/modules/node/src/Plugin/views/field/RevisionLink.php
RevisionLinkDelete::getDefaultLabel function core/modules/node/src/Plugin/views/field/RevisionLinkDelete.php
RevisionLinkRevert::getDefaultLabel function core/modules/node/src/Plugin/views/field/RevisionLinkRevert.php
RoleListBuilder::getDefaultOperations function core/modules/user/src/RoleListBuilder.php Gets this list's default operations.
SearchPageListBuilder::getDefaultOperations function core/modules/search/src/SearchPageListBuilder.php
SearchPageRepository::getDefaultSearchPage function core/modules/search/src/SearchPageRepository.php
SearchPageRepositoryInterface::getDefaultSearchPage function core/modules/search/src/SearchPageRepositoryInterface.php Returns the default search page.
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.
Section::getDefaultRegion function core/modules/layout_builder/src/Section.php Gets the default region.
Settings::getDefault function core/themes/admin/src/Settings.php Get the default setting from theme.
Settings::getDefault function core/themes/default_admin/src/Settings.php Get the default setting from theme.
ShortcutSetListBuilder::getDefaultOperations function core/modules/shortcut/src/ShortcutSetListBuilder.php
ShortcutSetStorage::getDefaultSet function core/modules/shortcut/src/ShortcutSetStorage.php
ShortcutSetStorageInterface::getDefaultSet function core/modules/shortcut/src/ShortcutSetStorageInterface.php Gets the default shortcut set for a given user account.
SiteConfigurationExcluder::getDefaultSiteDirectoryPath function core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php Returns the full path to `sites/default`, relative to a root directory.
StaticReflectionClass::getDefaultProperties function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
Tag::getDefaultCacheMaxAge function core/modules/views/src/Plugin/views/cache/Tag.php
TestSiteApplication::getDefaultCommands function core/tests/Drupal/TestSite/TestSiteApplication.php
Theme::getDefaultRegion function core/lib/Drupal/Core/Extension/Theme.php Gets the name of the default region for the theme.
ThemeHandler::getDefault function core/lib/Drupal/Core/Extension/ThemeHandler.php Returns the default theme.
ThemeHandlerInterface::getDefault function core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php Returns the default theme.
ThemeManager::getDefaultTemplateVariables function core/lib/Drupal/Core/Theme/ThemeManager.php Returns default template variables.
ThreeColumnLayout::getDefaultWidth function core/modules/layout_builder/src/Plugin/Layout/ThreeColumnLayout.php
Time::getDefaultCacheMaxAge function core/modules/views/src/Plugin/views/cache/Time.php
TranslationLink::getDefaultLabel function core/modules/content_translation/src/Plugin/views/field/TranslationLink.php
TRexEditor::getDefaultSettings function core/modules/editor/tests/modules/editor_test/src/Plugin/Editor/TRexEditor.php Returns the default settings for this configurable text editor.
TwoColumnLayout::getDefaultWidth function core/modules/layout_builder/src/Plugin/Layout/TwoColumnLayout.php
TypedDataManager::getDefaultConstraints function core/lib/Drupal/Core/TypedData/TypedDataManager.php Gets default constraints for the given data definition.
TypedDataManagerInterface::getDefaultConstraints function core/lib/Drupal/Core/TypedData/TypedDataManagerInterface.php Gets default constraints for the given data definition.
UnicornEditor::getDefaultSettings function core/modules/editor/tests/modules/editor_test/src/Plugin/Editor/UnicornEditor.php Returns the default settings for this configurable text editor.
ValidKeysConstraint::getDefaultOption function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/ValidKeysConstraint.php

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