ArgumentsResolver::getArgument

protected ArgumentsResolver::getArgument(\ReflectionParameter $parameter) Gets the argument value for a parameter. Parameters \ReflectionParameter $parameter: The parameter of a callable to get the value for. Return value mixed The value of the requested parameter value. Throws \RuntimeException Thrown when there is a missing parameter. File core/lib/Drupal/Component/Utility/ArgumentsResolver.php, line 71 Class ArgumentsResolver Resolves the arguments to pass to a callable. Namespace

EditorInterface::setSettings

public EditorInterface::setSettings(array $settings) Sets the text editor plugin-specific settings. Parameters array $settings: The structured array containing all text editor settings. Return value $this File core/modules/editor/src/EditorInterface.php, line 65 Class EditorInterface Provides an interface defining a text editor entity. Namespace Drupal\editor Code public function setSettings(array $settings);

history_write

history_write($nid, $account = NULL) Updates 'last viewed' timestamp of the specified entity for the current user. Parameters $nid: The node ID that has been read. $account: (optional) The user account to update the history for. Defaults to the current user. File core/modules/history/history.module, line 103 Records which users have read which content. Code function history_write($nid, $account = NULL) { if (!isset($account)) { $account = \Drupal::currentUser(); } if ($account-&g

CheckProvider

Loads access checkers from the container. Hierarchy class \Drupal\Core\Access\CheckProvider implements CheckProviderInterface, ContainerAwareInterface uses ContainerAwareTrait File core/lib/Drupal/Core/Access/CheckProvider.php, line 14 Namespace Drupal\Core\Access Members Name Modifiers Type Description CheckProvider::$checkIds protected property Array of registered access check service ids. CheckProvider::$checkMethods protected property Array of access check me

Image::desaturate

public Image::desaturate() Converts an image to grayscale. Return value bool TRUE on success, FALSE on failure. Overrides ImageInterface::desaturate File core/lib/Drupal/Core/Image/Image.php, line 170 Class Image Defines an image object to represent an image file. Namespace Drupal\Core\Image Code public function desaturate() { return $this->apply('desaturate', array()); }

BreakpointManager::$breakpointsByGroup

Static cache of breakpoints keyed by group. Type: array File core/modules/breakpoint/src/BreakpointManager.php, line 82 Class BreakpointManager Defines a breakpoint plugin manager to deal with breakpoints. Namespace Drupal\breakpoint Code protected $breakpointsByGroup;

MessageInterface::isPersonal

public MessageInterface::isPersonal() Returns TRUE if this is the personal contact form. Return value bool TRUE if the message bundle is personal. File core/modules/contact/src/MessageInterface.php, line 106 Class MessageInterface Provides an interface defining a contact message entity. Namespace Drupal\contact Code public function isPersonal();

ImageEffectManager

Manages image effect plugins. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\image\ImageEffectManager See also hook_image_effect_info_alter() \Drupal\image\Annotation\ImageEffect \Drupal\image\ConfigurableImageEffectInterface \Dru

BookRemoveForm::$node

The node representing the book. Type: \Drupal\node\NodeInterface File core/modules/book/src/Form/BookRemoveForm.php, line 28 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code protected $node;

hook_entity_bundle_delete

hook_entity_bundle_delete($entity_type_id, $bundle) Act on entity_bundle_delete(). This hook is invoked after the operation has been performed. Parameters string $entity_type_id: The type of entity; for example, 'node' or 'user'. string $bundle: The bundle that was just deleted. Related topics Entity CRUD, editing, and view hooks Hooks used in various entity operations. Hooks Define functions that alter the behavior of Drupal core. File core/lib/Drupal/Core/Entity/entity.api.php, line 780 Ho