Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. ContextInterface.php

function ContextInterface::hasContextValue

Returns whether the context has a value.

Return value

bool TRUE if the context has a value, FALSE otherwise.

1 method overrides ContextInterface::hasContextValue()
Context::hasContextValue in core/lib/Drupal/Component/Plugin/Context/Context.php
Returns whether the context has a value.

File

core/lib/Drupal/Component/Plugin/Context/ContextInterface.php, line 31

Class

ContextInterface
Provides data and definitions for plugins during runtime and administration.

Namespace

Drupal\Component\Plugin\Context

Code

public function hasContextValue();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal