Search for context

  1. Search 7.x for context
  2. Search 8.9.x for context
  3. Search 10.3.x for context
  4. Search 11.x for context
  5. Other projects

Exact matches

These are exact matches according to your search
Title Object type File name Summary
Context class core/lib/Drupal/Core/Plugin/Context/Context.php A Drupal specific context wrapper class.
Context class core/lib/Drupal/Component/Plugin/Context/Context.php A generic context class for wrapping data a plugin needs to operate.

All search results

Title Object type File name Summary
ContextualController::__construct function core/modules/contextual/src/ContextualController.php Constructors a new ContextualController.
ContextualDynamicContextTest class core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Tests contextual link display on the front page based on permissions.
ContextualDynamicContextTest.php file core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
ContextualDynamicContextTest::$anonymousUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php A simulated anonymous user with access only to node content.
ContextualDynamicContextTest::$authenticatedUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php An authenticated user with permission to access contextual links.
ContextualDynamicContextTest::$defaultTheme property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php The theme to install as the default for testing.
ContextualDynamicContextTest::$editorUser property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php A user with permission to access contextual links and edit content.
ContextualDynamicContextTest::$modules property core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Modules to enable.
ContextualDynamicContextTest::assertContextualLinkPlaceHolder function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Asserts that a contextual link placeholder with the given id exists.
ContextualDynamicContextTest::assertNoContextualLinkPlaceHolder function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Asserts that a contextual link placeholder with the given id does not exist.
ContextualDynamicContextTest::createContextualIdToken function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Creates a contextual ID token.
ContextualDynamicContextTest::renderContextualLinks function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Get server-rendered contextual links for the given contextual link ids.
ContextualDynamicContextTest::setUp function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php
ContextualDynamicContextTest::testDifferentPermissions function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Tests contextual links with different permissions.
ContextualDynamicContextTest::testTokenProtection function core/modules/contextual/tests/src/Functional/ContextualDynamicContextTest.php Tests the contextual placeholder content is protected by a token.
ContextualFiltersBlockContextTest class core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php A test for contextual filters exposed as block context.
ContextualFiltersBlockContextTest.php file core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php
ContextualFiltersBlockContextTest::$defaultTheme property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php The theme to install as the default for testing.
ContextualFiltersBlockContextTest::$modules property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Modules to enable.
ContextualFiltersBlockContextTest::$nodes property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Test nodes.
ContextualFiltersBlockContextTest::$nodeType property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Test node type.
ContextualFiltersBlockContextTest::$testViews property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Views used by this test.
ContextualFiltersBlockContextTest::setUp function core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Sets up the test.
ContextualFiltersBlockContextTest::testBlockContext function core/modules/views/tests/src/Functional/Plugin/ContextualFiltersBlockContextTest.php Tests exposed context.
ContextualFiltersStringTest class core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Test contextual filters with 'allow multiple values' setting for user roles.
ContextualFiltersStringTest.php file core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php
ContextualFiltersStringTest::$defaultTheme property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php The theme to install as the default for testing.
ContextualFiltersStringTest::$modules property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Modules to enable.
ContextualFiltersStringTest::$role1 property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Role id of role 1.
ContextualFiltersStringTest::$role2 property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Role id of role 2.
ContextualFiltersStringTest::$testViews property core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Views used by this test.
ContextualFiltersStringTest::setUp function core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Sets up the test.
ContextualFiltersStringTest::testUserRoleContextualFilter function core/modules/views/tests/src/Functional/Plugin/ContextualFiltersStringTest.php Tests contextual filter for the user roles.
ContextualFilterTest class core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php Tests the contextual filter handler UI.
ContextualFilterTest.php file core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php
ContextualFilterTest::$defaultTheme property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php The theme to install as the default for testing.
ContextualFilterTest::$modules property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php Modules to enable.
ContextualFilterTest::$testViews property core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php Views used by this test.
ContextualFilterTest::setUp function core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php
ContextualFilterTest::testAddContextualFilterUI function core/modules/views/tests/src/FunctionalJavascript/Plugin/views/Handler/ContextualFilterTest.php Tests adding a contextual filter handler through the UI.
ContextualLinkClickTrait trait core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinkClickTrait.php Functions for testing contextual links.
ContextualLinkClickTrait.php file core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinkClickTrait.php
ContextualLinkClickTrait::clickContextualLink function core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinkClickTrait.php Clicks a contextual link.
ContextualLinkClickTrait::toggleContextualTriggerVisibility function core/modules/contextual/tests/src/FunctionalJavascript/ContextualLinkClickTrait.php Toggles the visibility of a contextual trigger.
ContextualLinkDefault class core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Provides a common base implementation of a contextual link.
ContextualLinkDefault.php file core/lib/Drupal/Core/Menu/ContextualLinkDefault.php
ContextualLinkDefault::getGroup function core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Returns the group this contextual link should be rendered in.
ContextualLinkDefault::getOptions function core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Returns the link options passed to the link generator.
ContextualLinkDefault::getRouteName function core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Returns the route name of the contextual link.
ContextualLinkDefault::getTitle function core/lib/Drupal/Core/Menu/ContextualLinkDefault.php Returns the localized title to be shown for this contextual link.

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