MenuTreeStorage::$connection

The database connection. Type: \Drupal\Core\Database\Connection File core/lib/Drupal/Core/Menu/MenuTreeStorage.php, line 30 Class MenuTreeStorage Provides a menu tree storage using the database. Namespace Drupal\Core\Menu Code protected $connection;

PathFormBase

Provides a base class for path add/edit forms. Hierarchy class \Drupal\Core\Form\FormBase implements ContainerInjectionInterface, FormInterface uses DependencySerializationTrait, LoggerChannelTrait, LinkGeneratorTrait, RedirectDestinationTrait, UrlGeneratorTrait, StringTranslationTraitclass \Drupal\path\Form\PathFormBase File core/modules/path/src/Form/PathFormBase.php, line 17 Namespace Drupal\path\Form Members Name Modifiers Type Description DependencySerializationTrait::$_

PhpSerialize::getFileExtension

public static PhpSerialize::getFileExtension() Gets the file extension for this serialization format. Return value string The file extension, without leading dot. Overrides SerializationInterface::getFileExtension File core/lib/Drupal/Component/Serialization/PhpSerialize.php, line 27 Class PhpSerialize Default serialization for serialized PHP. Namespace Drupal\Component\Serialization Code public static function getFileExtension() { return 'serialized'; }

Item::setAuthor

public Item::setAuthor($author) Sets the author of the feed item. Parameters string $author: The author name of the feed item. Return value \Drupal\aggregator\ItemInterface The called feed item entity. Overrides ItemInterface::setAuthor File core/modules/aggregator/src/Entity/Item.php, line 167 Class Item Defines the aggregator item entity class. Namespace Drupal\aggregator\Entity Code public function setAuthor($author) { return $this->set('author', $author); }

MenuTreeStorage::preSave

protected MenuTreeStorage::preSave(array &$link, array $original) Fills in all the fields the database save needs, using the link definition. Parameters array $link: The link definition to be updated. array $original: The link definition before the changes. May be empty if not found. Return value array The values which will be stored. Throws \Drupal\Component\Plugin\Exception\PluginException Thrown when the specific depth exceeds the maximum. File core/lib/Drupal/Core/Menu/MenuTreeStorag

BookManagerInterface::bookTreeOutput

public BookManagerInterface::bookTreeOutput(array $tree) Returns a rendered menu tree. The menu item's LI element is given one of the following classes: expanded: The menu item is showing its submenu. collapsed: The menu item has a submenu which is not shown. Parameters array $tree: A data structure representing the tree as returned from buildBookOutlineData. Return value array A structured array to be rendered by drupal_render(). See also \Drupal\Core\Menu\MenuLinkTree::build File core/

MenuTreeStorageInterface

Defines an interface for storing a menu tree containing menu link IDs. The tree contains a hierarchy of menu links which have an ID as well as a route name or external URL. Hierarchy interface \Drupal\Core\Menu\MenuTreeStorageInterface File core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 11 Namespace Drupal\Core\Menu Members Name Modifiers Type Description MenuTreeStorageInterface::countMenuLinks public function Counts the total number of menu links in one m

BlockContentType::$label

The custom block type label. Type: string File core/modules/block_content/src/Entity/BlockContentType.php, line 57 Class BlockContentType Defines the custom block type entity. Namespace Drupal\block_content\Entity Code protected $label;

MenuTreeStorageInterface::load

public MenuTreeStorageInterface::load($id) Loads a menu link plugin definition from the storage. Parameters string $id: The menu link plugin ID. Return value array|false The plugin definition, or FALSE if no definition was found for the ID. File core/lib/Drupal/Core/Menu/MenuTreeStorageInterface.php, line 47 Class MenuTreeStorageInterface Defines an interface for storing a menu tree containing menu link IDs. Namespace Drupal\Core\Menu Code public function load($id);

SerializationInterface::encode

public static SerializationInterface::encode($data) Encodes data into the serialization format. Parameters mixed $data: The data to encode. Return value string The encoded data. File core/lib/Drupal/Component/Serialization/SerializationInterface.php, line 19 Class SerializationInterface Defines an interface for serialization formats. Namespace Drupal\Component\Serialization Code public static function encode($data);