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 11.x for defaults
  5. Search main for defaults
  6. Other projects
Title Object type File name Summary
SmartDefaultSettings::createSettingsFromCKEditor4 function core/modules/ckeditor5/src/SmartDefaultSettings.php Creates equivalent CKEditor 5 settings from CKEditor 4 settings.
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 @coversDefaultClass \Drupal\ckeditor5\SmartDefaultSettings[[api-linebreak]]
@group ckeditor5
SmartDefaultSettingsTest class core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php @covers \Drupal\ckeditor5\SmartDefaultSettings::computeSmartDefaultSettings[[api-linebreak]]
@group ckeditor5
@internal
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::$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::$typedConfig property core/modules/ckeditor5/tests/src/Kernel/SmartDefaultSettingsTest.php The typed config manager.
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::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 @covers ::getCandidates[[api-linebreak]]
@covers ::selectCandidate[[api-linebreak]]
@dataProvider providerCandidates
SmartDefaultSettingsTest::testSurplusScore function core/modules/ckeditor5/tests/src/Unit/SmartDefaultSettingsTest.php @covers ::computeSurplusScore[[api-linebreak]]
@dataProvider providerSurplusScore
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.
TestFieldPrepareViewFormatter::defaultSettings function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldFormatter/TestFieldPrepareViewFormatter.php Defines the default settings for this plugin.
TestFieldWidget::defaultSettings function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidget.php Defines the default settings for this plugin.
TestFieldWidgetMultiple::defaultSettings function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldWidget/TestFieldWidgetMultiple.php Defines the default settings for this plugin.
TestHelperPlugin::testSetOptionDefaults function core/modules/views/src/Tests/TestHelperPlugin.php Calls the protected method setOptionDefaults().
TestItem::defaultStorageSettings function core/modules/field/tests/modules/field_test/src/Plugin/Field/FieldType/TestItem.php Defines the storage-level settings for this plugin.
TestPluginManagerWithDefaults class core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php
TestPluginManagerWithDefaults::$defaults property core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php A set of defaults to be referenced by $this->processDefinition().
TextareaWithSummaryWidget::defaultSettings function core/modules/text/src/Plugin/Field/FieldWidget/TextareaWithSummaryWidget.php Defines the default settings for this plugin.
TextItem::defaultStorageSettings function core/modules/text/src/Plugin/Field/FieldType/TextItem.php Defines the storage-level settings for this plugin.
TextTrimmedFormatter::defaultSettings function core/modules/text/src/Plugin/Field/FieldFormatter/TextTrimmedFormatter.php Defines the default settings for this plugin.
ThemeEngineExtensionList::$defaults property core/lib/Drupal/Core/Extension/ThemeEngineExtensionList.php Default values to be merged into *.info.yml file arrays.
ThemeExtensionList::$defaults property core/lib/Drupal/Core/Extension/ThemeExtensionList.php Default values to be merged into *.info.yml file arrays.
ThemeTest::testSuggestionPreprocessForDefaults function core/modules/system/tests/src/Functional/Theme/ThemeTest.php Ensures suggestion preprocess functions run for default implementations.
TimestampAgoFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampAgoFormatter.php Defines the default settings for this plugin.
TimestampFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/TimestampFormatter.php Defines the default settings for this plugin.
TRexEditor::getDefaultSettings function core/modules/editor/tests/modules/editor_test/src/Plugin/Editor/TRexEditor.php Returns the default settings for this configurable text editor.

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