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

Breadcrumb

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

function ContextDefinitionInterface::setLabel

Sets the human readable label.

Parameters

string $label: The label to set.

Return value

$this

1 method overrides ContextDefinitionInterface::setLabel()
ContextDefinition::setLabel in core/lib/Drupal/Core/Plugin/Context/ContextDefinition.php
Sets the human readable label.

File

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

Class

ContextDefinitionInterface
Interface used to define definition objects found in ContextInterface.

Namespace

Drupal\Component\Plugin\Context

Code

public function setLabel($label);

API Navigation

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