SelectExtender::havingConditions

public &SelectExtender::havingConditions() Gets a list of all conditions in the HAVING clause. This method returns by reference. That allows alter hooks to access the data structure directly and manipulate it before it gets compiled. Return value array An array of conditions. Overrides SelectInterface::havingConditions See also \Drupal\Core\Database\Query\ConditionInterface::conditions() File core/lib/Drupal/Core/Database/Query/SelectExtender.php, line 155 Class SelectExtender The ba

FormBuilderInterface::getFormId

public FormBuilderInterface::getFormId($form_arg, FormStateInterface &$form_state) Determines the ID of a form. Parameters \Drupal\Core\Form\FormInterface|string $form_arg: The value is identical to that of self::getForm()'s $form_arg argument. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Return value string The unique string identifying the desired form. File core/lib/Drupal/Core/Form/FormBuilderInterface.php, line 36 Class FormBuilderInterface Pr

LibraryDiscoveryCollector::reset

public LibraryDiscoveryCollector::reset() Resets the local cache. Does not clear the persistent cache. Overrides CacheCollector::reset File core/lib/Drupal/Core/Asset/LibraryDiscoveryCollector.php, line 159 Class LibraryDiscoveryCollector A CacheCollector implementation for building library extension info. Namespace Drupal\Core\Asset Code public function reset() { parent::reset(); $this->cid = NULL; }

Views::getViewsAsOptions

public static Views::getViewsAsOptions($views_only = FALSE, $filter = 'all', $exclude_view = NULL, $optgroup = FALSE, $sort = FALSE) Returns an array of view as options array, that can be used by select, checkboxes and radios as #options. Parameters bool $views_only: If TRUE, only return views, not displays. string $filter: Filters the views on status. Can either be 'all' (default), 'enabled' or 'disabled' mixed $exclude_view: view or current display to exclude either a views object (containin

Pager::preRenderPager

public static Pager::preRenderPager(array $pager) #pre_render callback to associate the appropriate cache context. Parameters array $pager: A renderable array of #type => pager. Return value array File core/lib/Drupal/Core/Render/Element/Pager.php, line 69 Class Pager Provides a render element for a pager. Namespace Drupal\Core\Render\Element Code public static function preRenderPager(array $pager) { // Note: the default pager theme process function // template_preprocess_page

EntityRevisionParamConverter::$entityTypeManager

The entity type manager. Type: \Drupal\Core\Entity\EntityTypeManagerInterface File core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php, line 33 Class EntityRevisionParamConverter Parameter converter for upcasting entity revision IDs to full objects. Namespace Drupal\Core\ParamConverter Code protected $entityTypeManager;

FieldStorageDefinitionInterface::getName

public FieldStorageDefinitionInterface::getName() Returns the machine name of the field. This defines how the field data is accessed from the entity. For example, if the field name is "foo", then $entity->foo returns its data. Return value string The field name. File core/lib/Drupal/Core/Field/FieldStorageDefinitionInterface.php, line 42 Class FieldStorageDefinitionInterface Defines an interface for entity field storage definitions. Namespace Drupal\Core\Field Code public function

ConfigurableLanguageManagerInterface::getNegotiator

public ConfigurableLanguageManagerInterface::getNegotiator() Returns the language negotiator. Return value \Drupal\language\LanguageNegotiatorInterface The language negotiator. File core/modules/language/src/ConfigurableLanguageManagerInterface.php, line 24 Class ConfigurableLanguageManagerInterface Common interface for language negotiation services. Namespace Drupal\language Code public function getNegotiator();

SelectProfileForm::getFormId

public SelectProfileForm::getFormId() Returns a unique string identifying the form. Return value string The unique string identifying the form. Overrides FormInterface::getFormId File core/lib/Drupal/Core/Installer/Form/SelectProfileForm.php, line 16 Class SelectProfileForm Provides the profile selection form. Namespace Drupal\Core\Installer\Form Code public function getFormId() { return 'install_select_profile_form'; }

ActiveTheme::getBaseThemes

public ActiveTheme::getBaseThemes() Returns an array of base theme active theme objects keyed by name. The order starts with the base theme of $this and ends with the root of the dependency chain. Return value static[] File core/lib/Drupal/Core/Theme/ActiveTheme.php, line 193 Class ActiveTheme Defines a theme and its information needed at runtime. Namespace Drupal\Core\Theme Code public function getBaseThemes() { return $this->baseThemes; }