Search for disable

  1. Search 7.x for disable
  2. Search 9.5.x for disable
  3. Search 8.9.x for disable
  4. Search 11.x for disable
  5. Other projects
Title Object type File name Summary
ConfigEntityBase::disable function core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php Disables the configuration entity.
ConfigEntityBaseUnitTest::testDisable function core/tests/Drupal/Tests/Core/Config/Entity/ConfigEntityBaseUnitTest.php @covers ::disable[[api-linebreak]]
@depends testSetStatus
ConfigEntityInterface::disable function core/lib/Drupal/Core/Config/Entity/ConfigEntityInterface.php Disables the configuration entity.
ConfigTranslationUiTestBase::assertDisabledTextarea function core/modules/config_translation/tests/src/Functional/ConfigTranslationUiTestBase.php Asserts that a textarea with a given ID has been disabled from editing.
Connection::disableEvents function core/lib/Drupal/Core/Database/Connection.php Disables database API events dispatching.
ConstraintViolationBuilder::disableTranslation function core/lib/Drupal/Core/Validation/ConstraintViolationBuilder.php
CssOptimizerUnitTest::testTypeFilePreprocessingDisabled function core/tests/Drupal/Tests/Core/Asset/CssOptimizerUnitTest.php Tests a file CSS asset with preprocessing disabled.
DatabaseEventsTest::testDisableInvalidEvent function core/tests/Drupal/Tests/Core/Database/DatabaseEventsTest.php @covers ::disableEvents[[api-linebreak]]
DefaultPluginManagerTest::testDefaultPluginManagerWithDisabledModule function core/tests/Drupal/Tests/Core/Plugin/DefaultPluginManagerTest.php Tests the plugin manager with a disabled module.
DevelopmentSettingsFormTest::testDisabledRenderedOutputCacheBins function core/modules/system/tests/src/FunctionalJavascript/Form/DevelopmentSettingsFormTest.php Tests disabling cache bins which cache markup.
EnableLayoutBuilderTrait::disableLayoutBuilderFromUi function core/modules/layout_builder/tests/src/Traits/EnableLayoutBuilderTrait.php Disables Layout Builder using the UI.
FileCacheFactory::DISABLE_CACHE constant core/lib/Drupal/Component/FileCache/FileCacheFactory.php The configuration key to disable FileCache completely.
FileCacheFactoryTest::testGetDisabledFileCache function core/tests/Drupal/Tests/Component/FileCache/FileCacheFactoryTest.php @covers ::get[[api-linebreak]]
FormState::disableCache function core/lib/Drupal/Core/Form/FormState.php Prevents the form from being cached.
FormState::disableRedirect function core/lib/Drupal/Core/Form/FormState.php Prevents the form from redirecting.
FormState::isRedirectDisabled function core/lib/Drupal/Core/Form/FormState.php Determines if redirecting has been prevented.
FormStateDecoratorBase::disableCache function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Prevents the form from being cached.
FormStateDecoratorBase::disableRedirect function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Prevents the form from redirecting.
FormStateDecoratorBase::isRedirectDisabled function core/lib/Drupal/Core/Form/FormStateDecoratorBase.php Determines if redirecting has been prevented.
FormStateDecoratorBaseTest::testDisableCache function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::disableCache[[api-linebreak]]
FormStateDecoratorBaseTest::testDisableRedirect function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::disableRedirect[[api-linebreak]]
FormStateDecoratorBaseTest::testIsRedirectDisabled function core/tests/Drupal/Tests/Core/Form/FormStateDecoratorBaseTest.php @covers ::isRedirectDisabled[[api-linebreak]]
FormStateInterface::disableCache function core/lib/Drupal/Core/Form/FormStateInterface.php Prevents the form from being cached.
FormStateInterface::disableRedirect function core/lib/Drupal/Core/Form/FormStateInterface.php Prevents the form from redirecting.
FormStateInterface::isRedirectDisabled function core/lib/Drupal/Core/Form/FormStateInterface.php Determines if redirecting has been prevented.
JavascriptStatesTest::doElementsDisabledStateTests function core/tests/Drupal/FunctionalJavascriptTests/Core/Form/JavascriptStatesTest.php Tests the submit button, select and textarea disabled states.
KernelTestBase::disableModules function core/tests/Drupal/KernelTests/KernelTestBase.php Disables modules for this test.
LanguageTestTrait::disableBundleTranslation function core/modules/language/tests/src/Traits/LanguageTestTrait.php Disables translations for the given entity type bundle.
LinksetControllerTest::testDisabledEndpoint function core/modules/system/tests/src/Functional/Menu/LinksetControllerTest.php Test that api route does not exist if the config option is disabled.
ManageGitIgnoreTest::testUnmanagedGitIgnoreWhenDisabled function core/tests/Drupal/Tests/Composer/Plugin/Scaffold/Functional/ManageGitIgnoreTest.php Tests scaffold command does not manage the .gitignore file when disabled.
MenuTreeStorageTest::testMenuDisabledChildLinks function core/tests/Drupal/KernelTests/Core/Menu/MenuTreeStorageTest.php Tests with disabled child links.
RendererPlaceholdersTest::testPlaceholderingDisabledForPostRequests function core/tests/Drupal/Tests/Core/Render/RendererPlaceholdersTest.php @covers ::render[[api-linebreak]]
@covers ::doRender[[api-linebreak]]
@covers \Drupal\Core\Render\RenderCache::get[[api-linebreak]]
@covers \Drupal\Core\Render\PlaceholderingRenderCache::get[[api-linebreak]]
@covers…
TermParentsTest::testEditingParentsWithDisabledFormElement function core/modules/taxonomy/tests/src/Functional/TermParentsTest.php Tests specifying parents when creating terms and a disabled parent form.
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRoute function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UrlGeneratorTest::testUrlGenerationWithDisabledPathProcessingByRouteAndOptedInPathProcessing function core/tests/Drupal/Tests/Core/Routing/UrlGeneratorTest.php @covers ::generateFromRoute[[api-linebreak]]
UserAccountLinksTest::testDisabledAccountLink function core/modules/user/tests/src/Functional/UserAccountLinksTest.php Tests disabling the 'My account' link.
user_filter_format_disable function core/modules/user/user.module Implements hook_filter_format_disable().
WebAssert::fieldDisabled function core/tests/Drupal/Tests/WebAssert.php Checks that a given form field element is disabled.
WebDriverCurlService::disableRetry function core/tests/Drupal/FunctionalJavascriptTests/WebDriverCurlService.php Disables retries.
WebDriverTestBase::$disableCssAnimations property core/tests/Drupal/FunctionalJavascriptTests/WebDriverTestBase.php Disables CSS animations in tests for more reliable testing.
WriteSafeSessionHandlerTest::testConstructWriteSafeSessionHandlerDisableWriting function core/tests/Drupal/Tests/Core/Session/WriteSafeSessionHandlerTest.php Tests creating a WriteSafeSessionHandler with session writing disabled.
YamlPeclTest::testObjectSupportDisabled function core/tests/Drupal/Tests/Component/Serialization/YamlPeclTest.php Ensures that php object support is disabled.
YamlTest::testDecodeObjectSupportDisabled function core/tests/Drupal/Tests/Component/Serialization/YamlTest.php Ensures that decoding PHP objects does not work in Symfony.
YamlTest::testEncodeObjectSupportDisabled function core/tests/Drupal/Tests/Component/Serialization/YamlTest.php Ensures that php object support is disabled.

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