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) ->

ItemsImporter::$logger

A logger instance. Type: \Psr\Log\LoggerInterface File core/modules/aggregator/src/ItemsImporter.php, line 48 Class ItemsImporter Defines an importer of aggregator items. Namespace Drupal\aggregator Code protected $logger;

SwitchShortcutSet::$user

The account the shortcut set is for. Type: \Drupal\user\UserInterface File core/modules/shortcut/src/Form/SwitchShortcutSet.php, line 22 Class SwitchShortcutSet Builds the shortcut set switch form. Namespace Drupal\shortcut\Form Code protected $user;

SqlContentEntityStorageSchema::finalizePurge

public SqlContentEntityStorageSchema::finalizePurge(FieldStorageDefinitionInterface $storage_definition) Performs final cleanup after all data of a field has been purged. Parameters \Drupal\Core\Field\FieldStorageDefinitionInterface $storage_definition: The field being purged. Overrides DynamicallyFieldableEntityStorageSchemaInterface::finalizePurge File core/lib/Drupal/Core/Entity/Sql/SqlContentEntityStorageSchema.php, line 448 Class SqlContentEntityStorageSchema Defines a schema handler

search_theme_suggestions_search_result

search_theme_suggestions_search_result(array $variables) Implements hook_theme_suggestions_HOOK(). File core/modules/search/search.pages.inc, line 14 User page callbacks for the Search module. Code function search_theme_suggestions_search_result(array $variables) { return array('search_result__' . $variables['plugin_id']); }

RouteMatch

Default object representing the results of routing. Hierarchy class \Drupal\Core\Routing\RouteMatch implements RouteMatchInterface File core/lib/Drupal/Core/Routing/RouteMatch.php, line 13 Namespace Drupal\Core\Routing Members Name Modifiers Type Description RouteMatch::$parameters protected property A key|value store of parameters. RouteMatch::$rawParameters protected property A key|value store of raw parameters. RouteMatch::$route protected property The

MenuLinkManager::deleteInstance

protected MenuLinkManager::deleteInstance(MenuLinkInterface $instance, $persist) Deletes a specific instance. Parameters \Drupal\Core\Menu\MenuLinkInterface $instance: The plugin instance to be deleted. bool $persist: If TRUE, calls MenuLinkInterface::deleteLink() on the instance. Throws \Drupal\Component\Plugin\Exception\PluginException If the plugin instance does not support deletion. File core/lib/Drupal/Core/Menu/MenuLinkManager.php, line 274 Class MenuLinkManager Manages discovery,

ConfigEntityBase::setSyncing

public ConfigEntityBase::setSyncing($syncing) Sets the status of the isSyncing flag. Parameters bool $status: The status of the sync flag. Return value $this Overrides ConfigEntityInterface::setSyncing File core/lib/Drupal/Core/Config/Entity/ConfigEntityBase.php, line 210 Class ConfigEntityBase Defines a base configuration entity class. Namespace Drupal\Core\Config\Entity Code public function setSyncing($syncing) { $this->isSyncing = $syncing; return $this; }

template_preprocess_filter_guidelines

template_preprocess_filter_guidelines(&$variables) Prepares variables for text format guideline templates. Default template: filter-guidelines.html.twig. Parameters array $variables: An associative array containing: format: An object representing a text format. File core/modules/filter/filter.module, line 373 Framework for handling the filtering of content. Code function template_preprocess_filter_guidelines(&$variables) { $format = $variables['format']; $variables['tips'] = a

ShortcutSetDeleteForm::create

public static ShortcutSetDeleteForm::create(ContainerInterface $container) Instantiates a new instance of this class. This is a factory method that returns a new instance of this class. The factory should pass any needed dependencies into the constructor of this class, but not the container itself. Every call to this method must return a new instance of this class; that is, it may not implement a singleton. Parameters \Symfony\Component\DependencyInjection\ContainerInterface $container: The se