Search for defaults

  1. Search 7.x for defaults
  2. Search 9.5.x for defaults
  3. Search 8.9.x for defaults
  4. Search 10.3.x for defaults
  5. Search main for defaults
  6. Other projects
Title Object type File name Summary
SiteConfigurationExcluder::makeDefaultSiteDirectoryWritable function core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php Makes the staged `sites/default` directory owner-writable.
SiteConfigurationExcluder::syncDefaultSiteDirectoryPermissions function core/modules/package_manager/src/PathExcluder/SiteConfigurationExcluder.php Makes `sites/default` permissions the same in live and stage directories.
SiteConfigurationExcluderTest::testDefaultSiteDirectoryPermissions function core/modules/package_manager/tests/src/Kernel/PathExcluder/SiteConfigurationExcluderTest.php Tests that `sites/default` is made writable in the stage directory.
SmartDefaultSettings class core/modules/ckeditor5/src/SmartDefaultSettings.php Generates CKEditor 5 settings for existing text editors/formats.
SmartDefaultSettings.php file core/modules/ckeditor5/src/SmartDefaultSettings.php
SmartDefaultSettings::$currentUser property core/modules/ckeditor5/src/SmartDefaultSettings.php The current user.
SmartDefaultSettings::$logger property core/modules/ckeditor5/src/SmartDefaultSettings.php A logger instance.
SmartDefaultSettings::$moduleHandler property core/modules/ckeditor5/src/SmartDefaultSettings.php The module handler.
SmartDefaultSettings::$pluginManager property core/modules/ckeditor5/src/SmartDefaultSettings.php The CKEditor 5 plugin manager.
SmartDefaultSettings::addDefaultSettingsForEnabledConfigurablePlugins function core/modules/ckeditor5/src/SmartDefaultSettings.php Adds default settings for all enabled CKEditor 5 plugins.
SmartDefaultSettings::addTagsToSourceEditing function core/modules/ckeditor5/src/SmartDefaultSettings.php
SmartDefaultSettings::addToolbarItemsToMatchHtmlElementsInFormat function core/modules/ckeditor5/src/SmartDefaultSettings.php Adds CKEditor 5 toolbar items to match the format's HTML elements.
SmartDefaultSettings::computeNetNewElementsForPlugin function core/modules/ckeditor5/src/SmartDefaultSettings.php Computes net new needed elements when considering adding the given plugin.
SmartDefaultSettings::computeSmartDefaultSettings function core/modules/ckeditor5/src/SmartDefaultSettings.php Computes the closest equivalent settings for switching to CKEditor 5.
SmartDefaultSettings::computeSurplusScore function core/modules/ckeditor5/src/SmartDefaultSettings.php Computes a score for the given surplus compared to the given need.
SmartDefaultSettings::getCandidates function core/modules/ckeditor5/src/SmartDefaultSettings.php Finds candidates for the still needed restrictions among disabled plugins.
SmartDefaultSettings::selectCandidate function core/modules/ckeditor5/src/SmartDefaultSettings.php Selects best candidate for each of the still needed restrictions.
SmartDefaultSettings::__construct function core/modules/ckeditor5/src/SmartDefaultSettings.php Constructs a SmartDefaultSettings object.
SmartDefaultSettingsTest class core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php Tests Drupal\ckeditor5\SmartDefaultSettings.
SmartDefaultSettingsTest class core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Tests Smart Default Settings.
SmartDefaultSettingsTest.php file core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php
SmartDefaultSettingsTest.php file core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php
SmartDefaultSettingsTest::$database property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php The database connection used.
SmartDefaultSettingsTest::$manager property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php The manager for "CKEditor 5 plugin" plugins.
SmartDefaultSettingsTest::$modules property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Modules to install.
SmartDefaultSettingsTest::$parser property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php The message's placeholders parser.
SmartDefaultSettingsTest::$smartDefaultSettings property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Smart default settings utility.
SmartDefaultSettingsTest::$strictConfigSchema property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Exempt from strict schema checking, because using CKEditor 4.
SmartDefaultSettingsTest::$testLogServiceName property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php The service name for a logger implementation that collects anything logged.
SmartDefaultSettingsTest::$typedConfig property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php The typed config manager.
SmartDefaultSettingsTest::editorInfoAlter function core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Implements hook_editor_info_alter().
SmartDefaultSettingsTest::provider function core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Data provider.
SmartDefaultSettingsTest::providerCandidates function core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php Data provider for testing getCandidates() and ::selectCandidate().
SmartDefaultSettingsTest::providerSurplusScore function core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php Data provider for testing computeSurplusScore().
SmartDefaultSettingsTest::register function core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Registers test-specific services.
SmartDefaultSettingsTest::setUp function core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php
SmartDefaultSettingsTest::test function core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php Tests the CKEditor 5 default settings conversion.
SmartDefaultSettingsTest::testCandidates function core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php Tests candidates.
SmartDefaultSettingsTest::testSurplusScore function core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php Tests surplus score.
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.

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