Search for definition

  1. Search 7.x for definition
  2. Search 9.5.x for definition
  3. Search 8.9.x for definition
  4. Search 10.3.x for definition
  5. Other projects
Title Object type File name Summary
ContextDefinitionInterface::setConstraints function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the array of validation constraints.
ContextDefinitionInterface::setDataType function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the data type needed by the context.
ContextDefinitionInterface::setDefaultValue function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the default data value.
ContextDefinitionInterface::setDescription function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the human readable description.
ContextDefinitionInterface::setLabel function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets the human readable label.
ContextDefinitionInterface::setMultiple function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets whether the data is multi-valued.
ContextDefinitionInterface::setRequired function core/lib/Drupal/Component/Plugin/Context/ContextDefinitionInterface.php Sets whether the data is required.
ContextDefinitionIsSatisfiedTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition
@group Plugin
ContextDefinitionIsSatisfiedTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php
ContextDefinitionIsSatisfiedTest::providerTestIsSatisfiedBy function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php Provides test data for ::testIsSatisfiedBy().
ContextDefinitionIsSatisfiedTest::setUp function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php
ContextDefinitionIsSatisfiedTest::testIsSatisfiedBy function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionIsSatisfiedTest.php Tests that context requirements is satisfied as expected.
ContextDefinitionTest class core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @coversDefaultClass \Drupal\Core\Plugin\Context\ContextDefinition
@group Plugin
ContextDefinitionTest class core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php @coversDefaultClass \Drupal\Core\Annotation\ContextDefinition
@group Plugin
ContextDefinitionTest class core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php Tests the ContextDefinition class.
ContextDefinitionTest.php file core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php
ContextDefinitionTest.php file core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php
ContextDefinitionTest.php file core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php
ContextDefinitionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php Modules to install.
ContextDefinitionTest::$modules property core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php Modules to install.
ContextDefinitionTest::providerGetConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php Data provider for testGetConstraint.
ContextDefinitionTest::providerGetDataDefinition function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php Very simple data provider.
ContextDefinitionTest::testConstraints function core/tests/Drupal/KernelTests/Core/Plugin/Annotation/ContextDefinitionTest.php Tests adding constraints via annotations.
ContextDefinitionTest::testCreateWithEntityDataType function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @covers ::create
ContextDefinitionTest::testDefaultValue function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @covers ::getDefaultValue
@covers ::setDefaultValue
ContextDefinitionTest::testEntityContextDefinitionAssert function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @covers ::__construct
ContextDefinitionTest::testGetConstraint function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetConstraint
@covers ::getConstraint
@uses \Drupal
ContextDefinitionTest::testGetDataDefinition function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetDataDefinition
@covers ::getDataDefinition
@uses \Drupal
ContextDefinitionTest::testGetDataDefinitionInvalidType function core/tests/Drupal/Tests/Core/Plugin/Context/ContextDefinitionTest.php @dataProvider providerGetDataDefinition
@covers ::getDataDefinition
@uses \Drupal
ContextDefinitionTest::testIsSatisfiedBy function core/tests/Drupal/KernelTests/Core/Plugin/ContextDefinitionTest.php @covers ::isSatisfiedBy
ContextHandler::filterPluginDefinitionsByContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Determines plugins whose constraints are satisfied by a set of contexts.
ContextHandler::getContextDefinitions function core/lib/Drupal/Core/Plugin/Context/ContextHandler.php Returns the context definitions associated with a plugin definition.
ContextHandlerInterface::filterPluginDefinitionsByContexts function core/lib/Drupal/Core/Plugin/Context/ContextHandlerInterface.php Determines plugins whose constraints are satisfied by a set of contexts.
ContextHandlerTest::providerTestFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php Provides data for testFilterPluginDefinitionsByContexts().
ContextHandlerTest::testFilterPluginDefinitionsByContexts function core/tests/Drupal/Tests/Core/Plugin/ContextHandlerTest.php @covers ::filterPluginDefinitionsByContexts
ContextInterface::getContextDefinition function core/lib/Drupal/Core/Plugin/Context/ContextInterface.php
ContextInterface::getContextDefinition function core/lib/Drupal/Component/Plugin/Context/ContextInterface.php Gets the provided definition that the context must conform to.
ContextTest::$contextDefinition property core/tests/Drupal/Tests/Core/Plugin/Context/ContextTest.php The mocked context definition object.
ContextualLinkDefaultTest::$pluginDefinition property core/tests/Drupal/Tests/Core/Menu/ContextualLinkDefaultTest.php The used plugin definition.
ContextualLinkManager::clearCachedDefinitions function core/lib/Drupal/Core/Menu/ContextualLinkManager.php Clears static and persistent plugin definition caches.
ContextualLinkManager::processDefinition function core/lib/Drupal/Core/Menu/ContextualLinkManager.php Performs extra processing on plugin definitions.
ContextualLinkManagerTest::testPluginDefinitionAlter function core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php Tests the plugins alter hook.
ContextualLinkManagerTest::testProcessDefinitionWithoutGroup function core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php Tests processDefinition() by passing a plugin definition without a group.
ContextualLinkManagerTest::testProcessDefinitionWithoutRoute function core/tests/Drupal/Tests/Core/Menu/ContextualLinkManagerTest.php Tests processDefinition() by passing a plugin definition without a route.
ControllerResolver::getControllerFromDefinition function core/lib/Drupal/Core/Controller/ControllerResolver.php Returns the Controller instance with a given controller route definition.
ControllerResolverInterface::getControllerFromDefinition function core/lib/Drupal/Core/Controller/ControllerResolverInterface.php Returns the Controller instance with a given controller route definition.
ControllerResolverTest::providerTestGetControllerFromDefinition function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Provides test data for testGetControllerFromDefinition().
ControllerResolverTest::testGetControllerFromDefinition function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests getControllerFromDefinition().
ControllerResolverTest::testGetControllerFromDefinitionNotCallable function core/tests/Drupal/Tests/Core/Controller/ControllerResolverTest.php Tests getControllerFromDefinition() without a callable.
CounterTest::$definition property core/modules/views/tests/src/Unit/Plugin/field/CounterTest.php The handler definition of the counter field.

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