SysLog::log

public SysLog::log($level, $message, array $context = array()) Logs with an arbitrary level. Parameters mixed $level: string $message: array $context: Return value null Overrides RfcLoggerTrait::log File core/modules/syslog/src/Logger/SysLog.php, line 66 Class SysLog Redirects logging messages to syslog. Namespace Drupal\syslog\Logger Code public function log($level, $message, array $context = array()) { global $base_url; // Ensure we have a connection available. $this->ope

SysLog::$parser

The message's placeholders parser. Type: \Drupal\Core\Logger\LogMessageParserInterface File core/modules/syslog/src/Logger/SysLog.php, line 28 Class SysLog Redirects logging messages to syslog. Namespace Drupal\syslog\Logger Code protected $parser;

SysLog::$connectionOpened

Stores whether there is a system logger connection opened or not. Type: bool File core/modules/syslog/src/Logger/SysLog.php, line 35 Class SysLog Redirects logging messages to syslog. Namespace Drupal\syslog\Logger Code protected $connectionOpened = FALSE;

SysLog::$config

A configuration object containing syslog settings. Type: \Drupal\Core\Config\Config File core/modules/syslog/src/Logger/SysLog.php, line 21 Class SysLog Redirects logging messages to syslog. Namespace Drupal\syslog\Logger Code protected $config;

SysLog

Redirects logging messages to syslog. Hierarchy class \Drupal\syslog\Logger\SysLog implements LoggerInterface uses RfcLoggerTrait File core/modules/syslog/src/Logger/SysLog.php, line 13 Namespace Drupal\syslog\Logger Members Name Modifiers Type Description RfcLoggerTrait::alert public function Action must be taken immediately. Overrides LoggerInterface::alert RfcLoggerTrait::critical public function Critical conditions. Overrides LoggerInterface::critical RfcLo

SwitchShortcutSet::__construct

public SwitchShortcutSet::__construct(ShortcutSetStorageInterface $shortcut_set_storage) Constructs a SwitchShortcutSet object. Parameters \Drupal\shortcut\ShortcutSetStorageInterface $shortcut_set_storage: The shortcut set storage. File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 37 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code public function __construct(ShortcutSetStorageInterface $shortcut_set_storage) { $this->

SwitchShortcutSet::validateForm

public SwitchShortcutSet::validateForm(array &$form, FormStateInterface $form_state) Form validation handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormBase::validateForm File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 157 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code public functi

SwitchShortcutSet::submitForm

public SwitchShortcutSet::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 169 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code public funct

SwitchShortcutSet::getFormId

public SwitchShortcutSet::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 53 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code public function getFormId() { return 'shortcut_set_switch'; }

SwitchShortcutSet::exists

public SwitchShortcutSet::exists($id) Determines if a shortcut set exists already. Parameters string $id: The set ID to check. Return value bool TRUE if the shortcut set exists, FALSE otherwise. File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 148 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code public function exists($id) { return (bool) $this->shortcutSetStorage->getQuery() ->condition('id', $id) ->