StatementEmpty::fetch

public StatementEmpty::fetch($mode = NULL, $cursor_orientation = NULL, $cursor_offset = NULL) Fetches the next row from a result set. See http://php.net/manual/pdo.constants.php for the definition of the constants used. Parameters $mode: One of the PDO::FETCH_* constants. Default to what was specified by setFetchMode(). $cursor_orientation: Not implemented in all database drivers, don't use. $cursor_offset: Not implemented in all database drivers, don't use. Return value A result, formatted a

User::getTimeZone

public User::getTimeZone() Returns the timezone of this account. Return value string Name of the timezone. Overrides AccountInterface::getTimeZone File core/modules/user/src/Entity/User.php, line 304 Class User Defines the user entity class. Namespace Drupal\user\Entity Code public function getTimeZone() { return $this->get('timezone')->value; }

ExtensionDiscovery::ORIGIN_SITE

Origin directory weight: Site-specific directory. File core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 50 Class ExtensionDiscovery Discovers available extensions in the filesystem. Namespace Drupal\Core\Extension Code const ORIGIN_SITE = 5;

ExtensionDiscovery::__construct

public ExtensionDiscovery::__construct($root, $use_file_cache = TRUE, $profile_directories = NULL, $site_path = NULL) Constructs a new ExtensionDiscovery object. Parameters string $root: The app root. bool $use_file_cache: Whether file cache should be used. string[] $profile_directories: The available profile directories string $site_path: The path to the site. File core/lib/Drupal/Core/Extension/ExtensionDiscovery.php, line 113 Class ExtensionDiscovery Discovers available extensions in t

MenuForm::$menuLinkManager

The menu link manager. Type: \Drupal\Core\Menu\MenuLinkManagerInterface File core/modules/menu_ui/src/MenuForm.php, line 38 Class MenuForm Base form for menu edit forms. Namespace Drupal\menu_ui Code protected $menuLinkManager;

AliasManager::getAliasByPath

public AliasManager::getAliasByPath($path, $langcode = NULL) Given a path, return the alias. Parameters string $path: A path. string $langcode: An optional language code to look up the path in. Return value string An alias that represents the path, or path if no alias was found. Throws \InvalidArgumentException Thrown when the path does not start with a slash. Overrides AliasManagerInterface::getAliasByPath File core/lib/Drupal/Core/Path/AliasManager.php, line 184 Class AliasManager The

FieldStorageConfigStorage::$state

The state keyvalue collection. Type: \Drupal\Core\State\StateInterface File core/modules/field/src/FieldStorageConfigStorage.php, line 41 Class FieldStorageConfigStorage Controller class for "field storage" configuration entities. Namespace Drupal\field Code protected $state;

ThemeHandlerInterface::addTheme

public ThemeHandlerInterface::addTheme(Extension $theme) Adds a theme extension to the internal listing. Parameters \Drupal\Core\Extension\Extension $theme: The theme extension. File core/lib/Drupal/Core/Extension/ThemeHandlerInterface.php, line 102 Class ThemeHandlerInterface Manages the list of available themes. Namespace Drupal\Core\Extension Code public function addTheme(Extension $theme);

Updater::findInfoFile

public static Updater::findInfoFile($directory) Determines what the most important (or only) info file is in a directory. Since there is no enforcement of which info file is the project's "main" info file, this will get one with the same name as the directory, or the first one it finds. Not ideal, but needs a larger solution. Parameters string $directory: Directory to search in. Return value string Path to the info file. File core/lib/Drupal/Core/Updater/Updater.php, line 109 Class Update

StackedRouteMatchInterface::getRouteMatchFromRequest

public StackedRouteMatchInterface::getRouteMatchFromRequest(Request $request) Returns a route match from a given request, if possible. Parameters \Symfony\Component\HttpFoundation\Request $request: The request. Return value \Drupal\Core\Routing\RouteMatchInterface|null THe matching route match, or NULL if there is no matching one. File core/lib/Drupal/Core/Routing/StackedRouteMatchInterface.php, line 45 Class StackedRouteMatchInterface Defines an interface for a stack of route matches.