BookOutlineStorageInterface::countOriginalLinkChildren

public BookOutlineStorageInterface::countOriginalLinkChildren($original) Count the number of original link children. Parameters array $original: The book link array. Return value int Number of children. File core/modules/book/src/BookOutlineStorageInterface.php, line 154 Class BookOutlineStorageInterface Defines a common interface for book outline storage classes. Namespace Drupal\book Code public function countOriginalLinkChildren($original);

EntityDefinitionUpdateManager::applyUpdates

public EntityDefinitionUpdateManager::applyUpdates() Applies all the detected valid changes. Use this with care, as it will apply updates for any module, which will lead to unpredictable results. Throws \Drupal\Core\Entity\EntityStorageException This exception is thrown if a change cannot be applied without unacceptable data loss. In such a case, the site administrator needs to apply some other process, such as a custom update function or a migration via the Migrate module. Overrides EntityDef

UserListBuilder::getOperations

public UserListBuilder::getOperations(EntityInterface $entity) Provides an array of information to build a list of operation links. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity the operations are for. Return value array An associative array of operation link data for this list, keyed by operation name, containing the following key-value pairs: title: The localized title of the operation. url: An instance of \Drupal\Core\Url for the operation URL. weight: The weight of

GeneratedUrl::setGeneratedUrl

public GeneratedUrl::setGeneratedUrl($generated_url) Sets the generated URL. Parameters string $generated_url: The generated URL. Return value $this File core/lib/Drupal/Core/GeneratedUrl.php, line 39 Class GeneratedUrl Used to return generated URLs, along with associated bubbleable metadata. Namespace Drupal\Core Code public function setGeneratedUrl($generated_url) { $this->generatedUrl = $generated_url; return $this; }

MenuForm::$menuTree

The menu tree service. Type: \Drupal\Core\Menu\MenuLinkTreeInterface File core/modules/menu_ui/src/MenuForm.php, line 45 Class MenuForm Base form for menu edit forms. Namespace Drupal\menu_ui Code protected $menuTree;

ViewUI::delete

public ViewUI::delete() Deletes an entity permanently. Throws \Drupal\Core\Entity\EntityStorageException In case of failures an exception is thrown. Overrides EntityInterface::delete File core/modules/views_ui/src/ViewUI.php, line 978 Class ViewUI Stores UI related temporary settings. Namespace Drupal\views_ui Code public function delete() { return $this->storage->delete(); }

MenuController::addLink

public MenuController::addLink(MenuInterface $menu) Provides the menu link creation form. Parameters \Drupal\system\MenuInterface $menu: An entity representing a custom menu. Return value array Returns the menu link creation form. File core/modules/menu_link_content/src/Controller/MenuController.php, line 22 Class MenuController Defines a route controller for a form for menu link content entity creation. Namespace Drupal\menu_link_content\Controller Code public function addLink(MenuI

Insert::__construct

public Insert::__construct($connection, $table, array $options = array()) Constructs an Insert object. Parameters \Drupal\Core\Database\Connection $connection: A Connection object. string $table: Name of the table to associate with this query. array $options: Array of database options. Overrides Query::__construct File core/lib/Drupal/Core/Database/Query/Insert.php, line 33 Class Insert General class for an abstracted INSERT query. Namespace Drupal\Core\Database\Query Code public func

EntityDisplayRepository::getViewModeOptionsByBundle

public EntityDisplayRepository::getViewModeOptionsByBundle($entity_type_id, $bundle) Returns an array of enabled view mode options by bundle. Parameters string $entity_type_id: The entity type whose view mode options should be returned. string $bundle: The name of the bundle. Return value array An array of view mode labels, keyed by the display mode ID. Overrides EntityDisplayRepositoryInterface::getViewModeOptionsByBundle File core/lib/Drupal/Core/Entity/EntityDisplayRepository.php, line 167

LocaleTranslation::$lock

The lock backend that should be used. Type: \Drupal\Core\Lock\LockBackendInterface File core/modules/locale/src/LocaleTranslation.php, line 57 Class LocaleTranslation String translator using the locale module. Namespace Drupal\locale Code protected $lock;