EntityManager::getViewModes

public EntityManager::getViewModes($entity_type_id) Overrides EntityDisplayRepositoryInterface::getViewModes Deprecated in Drupal 8.0.0, will be removed before Drupal 9.0.0. File core/lib/Drupal/Core/Entity/EntityManager.php, line 286 Class EntityManager Provides a wrapper around many other services relating to entities. Namespace Drupal\Core\Entity Code public function getViewModes($entity_type_id) { return $this->container->get('entity_display.repository')->getViewModes

BlockContent::postDelete

public static BlockContent::postDelete(EntityStorageInterface $storage, array $entities) Acts on deleted entities before the delete hook is invoked. Used after the entities are deleted but before invoking the delete hook. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. \Drupal\Core\Entity\EntityInterface[] $entities: An array of entities. Overrides Entity::postDelete File core/modules/block_content/src/Entity/BlockContent.php, line 114 Class Block

EntityType::$base_table

The name of the entity type's base table. Type: string|null File core/lib/Drupal/Core/Entity/EntityType.php, line 147 Class EntityType Provides an implementation of an entity type and its metadata. Namespace Drupal\Core\Entity Code protected $base_table = NULL;

TermInterface::setName

public TermInterface::setName($name) Sets the name of the term. Parameters int $name: The term's name. Return value $this File core/modules/taxonomy/src/TermInterface.php, line 65 Class TermInterface Provides an interface defining a taxonomy term entity. Namespace Drupal\taxonomy Code public function setName($name);

Diff::$edits

The list of differences as an array of diff operations. Type: \Drupal\Component\Diff\Engine\DiffOp[] File core/lib/Drupal/Component/Diff/Diff.php, line 24 Class Diff Class representing a 'diff' between two sequences of strings. @todo document @subpackage DifferenceEngine Namespace Drupal\Component\Diff Code protected $edits;

BlockContent::postSave

public BlockContent::postSave(EntityStorageInterface $storage, $update = TRUE) Acts on a saved entity before the insert or update hook is invoked. Used after the entity is saved, but before invoking the insert or update hook. Note that in case of translatable content entities this callback is only fired on their current translation. It is up to the developer to iterate over all translations if needed. Parameters \Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object. bo

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

BaseCommand::render

public BaseCommand::render() Return an array to be run through json_encode and sent to the client. Overrides CommandInterface::render File core/lib/Drupal/Core/Ajax/BaseCommand.php, line 40 Class BaseCommand Base command that only exists to simplify AJAX commands. Namespace Drupal\Core\Ajax Code public function render() { return array( 'command' => $this->command, 'data' => $this->data, ); }

FieldStorageConfigInterface::getTypeProvider

public FieldStorageConfigInterface::getTypeProvider() Returns the name of the module providing the field type. Return value string The name of the module that provides the field type. File core/modules/field/src/FieldStorageConfigInterface.php, line 27 Class FieldStorageConfigInterface Provides an interface defining a field storage entity. Namespace Drupal\field Code public function getTypeProvider();

BlockController::__construct

public BlockController::__construct(ThemeHandlerInterface $theme_handler) Constructs a new BlockController instance. Parameters \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler. File core/modules/block/src/Controller/BlockController.php, line 29 Class BlockController Controller routines for admin block routes. Namespace Drupal\block\Controller Code public function __construct(ThemeHandlerInterface $theme_handler) { $this->themeHandler = $theme_handle