StorageComparer::getAllCollectionNames

public StorageComparer::getAllCollectionNames($include_default = TRUE) Gets the existing collections from both the target and source storage. Parameters bool $include_default: (optional) Include the default collection. Defaults to TRUE. Return value array An array of existing collection names. Overrides StorageComparerInterface::getAllCollectionNames File core/lib/Drupal/Core/Config/StorageComparer.php, line 454 Class StorageComparer Defines a config storage comparer. Namespace Drupal

SelectExtender::havingCompile

public SelectExtender::havingCompile(Connection $connection) Compiles the HAVING clause for later retrieval. Parameters $connection: The database connection for which to compile the clause. Overrides SelectInterface::havingCompile File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 177 Class SelectExtender The base extender class for Select queries. Namespace Drupal\Core\Database\Query Code public function havingCompile(Connection $connection) { return $this->query-

Url::fromRouteMatch

public static Url::fromRouteMatch(RouteMatchInterface $route_match) Creates a new URL object from a route match. Parameters \Drupal\Core\Routing\RouteMatchInterface $route_match: The route match. Return value $this File core/lib/Drupal/Core/Url.php, line 152 Class Url Defines an object that holds information about a URL. Namespace Drupal\Core Code public static function fromRouteMatch(RouteMatchInterface $route_match) { if ($route_match->getRouteObject()) { return new static

TermStorageInterface::loadParents

public TermStorageInterface::loadParents($tid) Finds all parents of a given term ID. Parameters int $tid: Term ID to retrieve parents for. Return value \Drupal\taxonomy\TermInterface[] An array of term objects which are the parents of the term $tid. File core/modules/taxonomy/src/TermStorageInterface.php, line 38 Class TermStorageInterface Defines an interface for taxonomy_term entity storage classes. Namespace Drupal\taxonomy Code public function loadParents($tid);

AccountPermissionsCacheContext::getContext

public AccountPermissionsCacheContext::getContext() Returns the string representation of the cache context. A cache context service's name is used as a token (placeholder) cache key, and is then replaced with the string returned by this method. Return value string The string representation of the cache context. Overrides CacheContextInterface::getContext File core/lib/Drupal/Core/Cache/Context/AccountPermissionsCacheContext.php, line 46 Class AccountPermissionsCacheContext Defines the Acc

EntityRevisionConverter::convert

public EntityRevisionConverter::convert($value, $definition, $name, array $defaults) Converts path variables to their corresponding objects. Parameters mixed $value: The raw value. mixed $definition: The parameter definition provided in the route options. string $name: The name of the parameter. array $defaults: The route defaults array. Return value mixed|null The converted parameter value. Overrides EntityConverter::convert File core/modules/content_moderation/src/ParamConverter/EntityRevis

SearchPageFormBase::form

public SearchPageFormBase::form(array $form, FormStateInterface $form_state) Gets the actual form array to be built. Overrides EntityForm::form See also \Drupal\Core\Entity\EntityForm::processForm() \Drupal\Core\Entity\EntityForm::afterBuild() File core/modules/search/src/Form/SearchPageFormBase.php, line 86 Class SearchPageFormBase Provides a base form for search pages. Namespace Drupal\search\Form Code public function form(array $form, FormStateInterface $form_state) { $form['labe

template_preprocess_fieldset

template_preprocess_fieldset(&$variables) Prepares variables for fieldset element templates. Default template: fieldset.html.twig. Parameters array $variables: An associative array containing: element: An associative array containing the properties of the element. Properties used: #attributes, #children, #description, #id, #title, #value. File core/includes/form.inc, line 192 Functions for form and batch generation and processing. Code function template_preprocess_fieldset(&$varia

FormStateInterface::hasInvalidToken

public FormStateInterface::hasInvalidToken() Determines if the form has an invalid token. Return value bool TRUE if the form has an invalid token, FALSE otherwise. File core/lib/Drupal/Core/Form/FormStateInterface.php, line 574 Class FormStateInterface Provides an interface for an object containing the current state of a form. Namespace Drupal\Core\Form Code public function hasInvalidToken();

Vocabulary::$name

Name of the vocabulary. Type: string File core/modules/taxonomy/src/Entity/Vocabulary.php, line 63 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code protected $name;