views_set_current_view

&views_set_current_view($view = NULL) Set the current 'current view' that is being built/rendered so that it is easy for other modules or items in drupal_eval to identify Return value \Drupal\views\ViewExecutable File core/modules/views/views.module, line 485 Primarily Drupal hooks and global API functions to manipulate views. Code function &views_set_current_view($view = NULL) { static $cache = NULL; if (isset($view)) { $cache = $view; } return $cache; }

HtmlResponseAttachmentsProcessor::$cssCollectionRenderer

The CSS asset collection renderer service. Type: \Drupal\Core\Asset\AssetCollectionRendererInterface File core/lib/Drupal/Core/Render/HtmlResponseAttachmentsProcessor.php, line 53 Class HtmlResponseAttachmentsProcessor Processes attachments of HTML responses. Namespace Drupal\Core\Render Code protected $cssCollectionRenderer;

ShortcutSetForm::form

public ShortcutSetForm::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/shortcut/src/ShortcutSetForm.php, line 16 Class ShortcutSetForm Form handler for the shortcut set entity edit forms. Namespace Drupal\shortcut Code public function form(array $form, FormStateInterface $form_state) { $form = pare

ConfigImporter::importConfig

protected ConfigImporter::importConfig($collection, $op, $name) Writes a configuration change from the source to the target storage. Parameters string $collection: The configuration collection. string $op: The change operation. string $name: The name of the configuration to process. File core/lib/Drupal/Core/Config/ConfigImporter.php, line 900 Class ConfigImporter Defines a configuration importer. Namespace Drupal\Core\Config Code protected function importConfig($collection, $op, $nam

ViewExecutable::destroy

public ViewExecutable::destroy() Unsets references so that a $view object may be properly garbage collected. File core/modules/views/src/ViewExecutable.php, line 2050 Class ViewExecutable Represents a view as a whole. Namespace Drupal\views Code public function destroy() { foreach ($this::getHandlerTypes() as $type => $info) { if (isset($this->$type)) { foreach ($this->{$type} as $handler) { $handler->destroy(); } } } if (isset($this->s

RegionalForm::__construct

public RegionalForm::__construct(ConfigFactoryInterface $config_factory, CountryManagerInterface $country_manager) Constructs a RegionalForm object. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects. \Drupal\Core\Locale\CountryManagerInterface $country_manager: The country manager. Overrides ConfigFormBase::__construct File core/modules/system/src/Form/RegionalForm.php, line 31 Class RegionalForm Configure regional settings for th

EntityTypeBundleInfoInterface::getBundleInfo

public EntityTypeBundleInfoInterface::getBundleInfo($entity_type) Gets the bundle info of an entity type. Parameters string $entity_type: The entity type. Return value array An array of bundle information where the outer array is keyed by the bundle name, or the entity type name if the entity does not have bundles. The inner arrays are associative arrays of bundle information, such as the label for the bundle. File core/lib/Drupal/Core/Entity/EntityTypeBundleInfoInterface.php, line 33 Clas

ViewUI::hasLinkTemplate

public ViewUI::hasLinkTemplate($key) Indicates if a link template exists for a given key. Parameters string $key: The link type. Return value bool TRUE if the link template exists, FALSE otherwise. Overrides EntityInterface::hasLinkTemplate File core/modules/views_ui/src/ViewUI.php, line 1177 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function hasLinkTemplate($key) { return $this->storage->hasLinkTemplate($key); }

BanIpManagerInterface::findAll

public BanIpManagerInterface::findAll() Finds all banned IP addresses. Return value \Drupal\Core\Database\StatementInterface The result of the database query. File core/modules/ban/src/BanIpManagerInterface.php, line 27 Class BanIpManagerInterface Provides an interface defining a BanIp manager. Namespace Drupal\ban Code public function findAll();

Query::execute

public Query::execute() Execute the query. Return value int|array Returns an integer for count queries or an array of ids. The values of the array are always entity ids. The keys will be revision ids if the entity supports revision and entity ids if not. Overrides QueryInterface::execute File core/lib/Drupal/Core/Entity/Query/Null/Query.php, line 18 Class Query Defines the entity query for configuration entities. Namespace Drupal\Core\Entity\Query\Null Code public function execute() {