ConfigPagesContextBase.php in Config Pages 8
Same filename and directory in other branches
Namespace
Drupal\config_pagesFile
src/ConfigPagesContextBase.phpView source
<?php
namespace Drupal\config_pages;
use Drupal\Component\Plugin\PluginBase;
class ConfigPagesContextBase extends PluginBase implements ConfigPagesContextInterface {
  /**
   * Return the label of the context.
   *
   * @return string
   */
  public function getLabel() {
    return $this->pluginDefinition['label'];
  }
  /**
   * Return the value of the context.
   * Needs to be overriden for concrete context.
   *
   * @return mixed
   */
  public static function getValue() {
    return '';
  }
}Classes
| Name   | Description | 
|---|---|
| ConfigPagesContextBase | 
