ModuleHandlerInterface::invoke

public ModuleHandlerInterface::invoke($module, $hook, array $args = array()) Invokes a hook in a particular module. Parameters string $module: The name of the module (without the .module extension). string $hook: The name of the hook to invoke. array $args: Arguments to pass to the hook implementation. Return value mixed The return value of the hook implementation. File core/lib/Drupal/Core/Extension/ModuleHandlerInterface.php, line 223 Class ModuleHandlerInterface Interface for classes

Feed::getLastModified

public Feed::getLastModified() Return when the feed was modified last time. Return value int The timestamp of the last time the feed was modified. Overrides FeedInterface::getLastModified File core/modules/aggregator/src/Entity/Feed.php, line 297 Class Feed Defines the aggregator feed entity class. Namespace Drupal\aggregator\Entity Code public function getLastModified() { return $this->get('modified')->value; }

MTimeProtectedFileStorage::exists

public MTimeProtectedFileStorage::exists($name) Checks whether the PHP code exists in storage. Parameters string $name: The virtual file name. Can be a relative path. Return value bool TRUE if the virtual file exists, FALSE otherwise. Overrides FileStorage::exists File core/lib/Drupal/Component/PhpStorage/MTimeProtectedFileStorage.php, line 48 Class MTimeProtectedFileStorage Stores PHP code in files with securely hashed names. Namespace Drupal\Component\PhpStorage Code public functio

PluralFormulaInterface

An interface for a service providing plural formulae. Hierarchy interface \Drupal\locale\PluralFormulaInterface File core/modules/locale/src/PluralFormulaInterface.php, line 8 Namespace Drupal\locale Members Name Modifiers Type Description PluralFormulaInterface::getFormula public function Gets the plural formula for a langcode. PluralFormulaInterface::getNumberOfPlurals public function Returns the number of plurals supported by a given language. PluralFormulaI

PathController

Controller routines for path routes. Hierarchy class \Drupal\Core\Controller\ControllerBase implements ContainerInjectionInterface uses LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\path\Controller\PathController File core/modules/path/src/Controller/PathController.php, line 16 Namespace Drupal\path\Controller Members Name Modifiers Type Description ControllerBase::$configFactory protected property

base_path

base_path() Returns the base URL path (i.e., directory) of the Drupal installation. base_path() adds a "/" to the beginning and end of the returned path if the path is not empty. At the very least, this will return "/". Examples: http://example.com returns "/" because the path is empty. http://example.com/drupal/folder returns "/drupal/folder/". File core/includes/common.inc, line 413 Common functions that many Drupal modules will need to reference. Code function base_path() { return $G

PlainTextOutput

Provides an output strategy for transforming HTML into simple plain text. Use this when rendering a given HTML string into a plain text string that does not need special formatting, such as a label or an email subject. Returns a string with HTML tags stripped and HTML entities decoded suitable for email or other non-HTML contexts. Hierarchy class \Drupal\Component\Render\PlainTextOutput implements OutputStrategyInterface File core/lib/Drupal/Component/Render/PlainTextOutput.php, line 16 N

Analyzer::getMessages

public Analyzer::getMessages(ViewExecutable $view) Analyzes a review and return the results. Parameters \Drupal\views\ViewExecutable $view: The view to analyze. Return value array An array of analyze results organized into arrays keyed by 'ok', 'warning' and 'error'. File core/modules/views/src/Analyzer.php, line 45 Class Analyzer This tool is a small plugin manager to perform analysis on a view and report results to the user. This tool is meant to let modules that provide data to Views

ContactForm::$weight

The weight of the category. Type: int File core/modules/contact/src/Entity/ContactForm.php, line 97 Class ContactForm Defines the contact form entity. Namespace Drupal\contact\Entity Code protected $weight = 0;

InvokeCommand::$selector

A CSS selector string. If the command is a response to a request from an #ajax form element then this value can be NULL. Type: string File core/lib/Drupal/Core/Ajax/InvokeCommand.php, line 28 Class InvokeCommand AJAX command for invoking an arbitrary jQuery method. Namespace Drupal\Core\Ajax Code protected $selector;