EntityInterface::loadMultiple

public static EntityInterface::loadMultiple(array $ids = NULL) Loads one or more entities. Parameters array $ids: An array of entity IDs, or NULL to load all entities. Return value static[] An array of entity objects indexed by their IDs. File core/lib/Drupal/Core/Entity/EntityInterface.php, line 255 Class EntityInterface Defines a common interface for all entity objects. Namespace Drupal\Core\Entity Code public static function loadMultiple(array $ids = NULL);

Query::$connection

The connection object on which to run this query. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Database/Query/Query.php, line 21 Class Query Base class for query builders. Namespace Drupal\Core\Database\Query Code protected $connection;

telephone_field_formatter_info_alter

telephone_field_formatter_info_alter(&$info) Implements hook_field_formatter_info_alter(). File core/modules/telephone/telephone.module, line 33 Defines a simple telephone number field type. Code function telephone_field_formatter_info_alter(&$info) { $info['string']['field_types'][] = 'telephone'; }

node_user_cancel

node_user_cancel($edit, $account, $method) Implements hook_user_cancel(). File core/modules/node/node.module, line 683 The core module that allows content to be submitted to the site. Code function node_user_cancel($edit, $account, $method) { switch ($method) { case 'user_cancel_block_unpublish': // Unpublish nodes (current revisions). $nids = \Drupal::entityQuery('node') ->condition('uid', $account->id()) ->execute(); module_load_include('inc'

MenuLinkBase

Defines a base menu link class. Hierarchy class \Drupal\Component\Plugin\PluginBase implements DerivativeInspectionInterface, PluginInspectionInterfaceclass \Drupal\Core\Plugin\PluginBase uses DependencySerializationTrait, StringTranslationTraitclass \Drupal\Core\Menu\MenuLinkBase implements MenuLinkInterface File core/lib/Drupal/Core/Menu/MenuLinkBase.php, line 13 Namespace Drupal\Core\Menu Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds

hook_block_view_BASE_BLOCK_ID_alter

hook_block_view_BASE_BLOCK_ID_alter(array &$build, \Drupal\Core\Block\BlockPluginInterface $block) Provide a block plugin specific block_view alteration. In this hook name, BASE_BLOCK_ID refers to the block implementation's plugin id, regardless of whether the plugin supports derivatives. For example, for the \Drupal\system\Plugin\Block\SystemPoweredByBlock block, this would be 'system_powered_by_block' as per that class's annotation. And for the \Drupal\system\Plugin\Block\SystemMenuBlock

Tar::add

public Tar::add($file_path) Adds the specified file or directory to the archive. Parameters string $file_path: The full system path of the file or directory to add. Only local files and directories are supported. Return value \Drupal\Core\Archiver\ArchiverInterface The called object. Overrides ArchiverInterface::add File core/lib/Drupal/Core/Archiver/Tar.php, line 34 Class Tar Defines a archiver implementation for .tar files. Namespace Drupal\Core\Archiver Code public function add($f

ActionAdminManageForm::__construct

public ActionAdminManageForm::__construct(ActionManager $manager) Constructs a new ActionAdminManageForm. Parameters \Drupal\Core\Action\ActionManager $manager: The action plugin manager. File core/modules/action/src/Form/ActionAdminManageForm.php, line 29 Class ActionAdminManageForm Provides a configuration form for configurable actions. Namespace Drupal\action\Form Code public function __construct(ActionManager $manager) { $this->manager = $manager; }

StatementPrefetch::getStatement

protected StatementPrefetch::getStatement($query, &$args = array()) Grab a PDOStatement object from a given query and its arguments. Some drivers (including SQLite) will need to perform some preparation themselves to get the statement right. Parameters $query: The query. array $args: An array of arguments. Return value \PDOStatement A PDOStatement object. File core/lib/Drupal/Core/Database/StatementPrefetch.php, line 222 Class StatementPrefetch An implementation of StatementInterface

AccessResult::orIf

public AccessResult::orIf(AccessResultInterface $other) Combine this access result with another using OR. When OR-ing two access results, the result is: isForbidden() in either ⇒ isForbidden() otherwise if isAllowed() in either ⇒ isAllowed() otherwise both must be isNeutral() ⇒ isNeutral() Truth table: |A N F --+----- A |A A F N |A N F F |F F F Parameters \Drupal\Core\Access\AccessResultInterface $other: The other access result to OR this one with. Return value static Overrides AccessRes