BlockController::getVisibleRegionNames

protected BlockController::getVisibleRegionNames($theme) Returns the human-readable list of regions keyed by machine name. Parameters string $theme: The name of the theme. Return value array An array of human-readable region names keyed by machine name. File core/modules/block/src/Controller/BlockController.php, line 96 Class BlockController Controller routines for admin block routes. Namespace Drupal\block\Controller Code protected function getVisibleRegionNames($theme) { return s

DataDefinitionInterface::getSettings

public DataDefinitionInterface::getSettings() Returns the array of settings, as required by the used class. See the documentation of the class for supported or required settings. Return value array The array of settings. File core/lib/Drupal/Core/TypedData/DataDefinitionInterface.php, line 134 Class DataDefinitionInterface Interface for data definitions. Namespace Drupal\Core\TypedData Code public function getSettings();

FileSystemForm::create

public static FileSystemForm::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 service c

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'; }

Hooks

Define functions that alter the behavior of Drupal core. One way for modules to alter the core behavior of Drupal (or another module) is to use hooks. Hooks are specially-named functions that a module defines (this is known as "implementing the hook"), which are discovered and called at specific times to alter or add to the base behavior or data (this is known as "invoking the hook"). Each hook has a name (example: hook_batch_alter()), a defined set of parameters, and a defined return value. Yo

ConfigEntityStorage::$languageManager

The language manager. Type: \Drupal\Core\Language\LanguageManagerInterface File core/lib/Drupal/Core/Config/Entity/ConfigEntityStorage.php, line 76 Class ConfigEntityStorage Defines the storage class for configuration entities. Namespace Drupal\Core\Config\Entity Code protected $languageManager;

VariantBase::setWeight

public VariantBase::setWeight($weight) Sets the weight of the display variant. Parameters int $weight: The weight to set. Overrides VariantInterface::setWeight File core/lib/Drupal/Core/Display/VariantBase.php, line 64 Class VariantBase Provides a base class for DisplayVariant plugins. Namespace Drupal\Core\Display Code public function setWeight($weight) { $this->configuration['weight'] = (int) $weight; }

FormStateDecoratorBase::getValidateHandlers

public FormStateDecoratorBase::getValidateHandlers() Gets the validate handlers. Return value array An array of validate handlers. Overrides FormStateInterface::getValidateHandlers File core/lib/Drupal/Core/Form/FormStateDecoratorBase.php, line 395 Class FormStateDecoratorBase Decorates another form state. Namespace Drupal\Core\Form Code public function getValidateHandlers() { return $this->decoratedFormState->getValidateHandlers(); }

FormStateInterface::isCached

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

SessionHandler::close

public SessionHandler::close() Closes the current session. Return value bool true on success, false on failure Overrides SessionHandlerInterface::close See also http://php.net/sessionhandlerinterface.close File core/lib/Drupal/Core/Session/SessionHandler.php, line 102 Class SessionHandler Default session handler. Namespace Drupal\Core\Session Code public function close() { return TRUE; }