MenuLinkBase::getFormClass

public MenuLinkBase::getFormClass() Returns the name of a class that can build an editing form for this link. To instantiate the form class, use an instance of the \Drupal\Core\DependencyInjection\ClassResolverInterface, such as from the class_resolver service. Then call the setMenuLinkInstance() method on the form instance with the menu link plugin instance. @todo Add a code example. https://www.drupal.org/node/2302849 Return value string A class that implements \Drupal\Core\Menu\Form\MenuLin

hook_update_dependencies

hook_update_dependencies() Return an array of information about module update dependencies. This can be used to indicate update functions from other modules that your module's update functions depend on, or vice versa. It is used by the update system to determine the appropriate order in which updates should be run, as well as to search for missing dependencies. Implementations of this hook should be placed in a mymodule.install file in the same directory as mymodule.module. Return value A mul

ContentTranslationController::prepareTranslation

public ContentTranslationController::prepareTranslation(ContentEntityInterface $entity, LanguageInterface $source, LanguageInterface $target) Populates target values with the source values. Parameters \Drupal\Core\Entity\ContentEntityInterface $entity: The entity being translated. \Drupal\Core\Language\LanguageInterface $source: The language to be used as source. \Drupal\Core\Language\LanguageInterface $target: The language to be used as target. File core/modules/content_translation/src/Contro

ViewAddForm::submitForm

public ViewAddForm::submitForm(array &$form, FormStateInterface $form_state) This is the default entity object builder function. It is called before any other submit handler to build the new entity object to be used by the following submit handlers. At this point of the form workflow the entity is validated and the form state can be updated, this way the subsequently invoked handlers can retrieve a regular entity object to act on. Generally this method should not be overridden unless the e

PathRootsSubscriber

Provides all available first bits of all route paths. Hierarchy class \Drupal\Core\EventSubscriber\PathRootsSubscriber implements EventSubscriberInterface File core/lib/Drupal/Core/EventSubscriber/PathRootsSubscriber.php, line 13 Namespace Drupal\Core\EventSubscriber Members Name Modifiers Type Description PathRootsSubscriber::$pathRoots protected property Stores the path roots available in the router. PathRootsSubscriber::$state protected property The state key

ViewsData::get

public ViewsData::get($key = NULL) Gets data for a particular table, or all tables. Parameters string|null $key: The key of the cache entry to retrieve. Defaults to NULL, this will return all table data. Return value array $data An array of table data. Deprecated NULL $key deprecated in Drupal 8.2.x and will be removed in 9.0.0. Use getAll() instead. See also https://www.drupal.org/node/2723553 File core/modules/views/src/ViewsData.php, line 146 Class ViewsData Class to manage and la

FormattableMarkup::$arguments

The arguments to replace placeholders with. Type: array File core/lib/Drupal/Component/Render/FormattableMarkup.php, line 69 Class FormattableMarkup Formats a string for HTML display by replacing variable placeholders. Namespace Drupal\Component\Render Code protected $arguments = [];

FilterFormat::getPermissionName

public FilterFormat::getPermissionName() Returns the machine-readable permission name for the text format. Return value string|bool The machine-readable permission name, or FALSE if the text format is malformed or is the fallback format (which is available to all users). Overrides FilterFormatInterface::getPermissionName File core/modules/filter/src/Entity/FilterFormat.php, line 247 Class FilterFormat Represents a text format. Namespace Drupal\filter\Entity Code public function getPer

Vocabulary::id

public Vocabulary::id() Gets the identifier. Return value string|int|null The entity identifier, or NULL if the object does not yet have an identifier. Overrides Entity::id File core/modules/taxonomy/src/Entity/Vocabulary.php, line 109 Class Vocabulary Defines the taxonomy vocabulary entity. Namespace Drupal\taxonomy\Entity Code public function id() { return $this->vid; }

LocaleConfigManager::isSupported

public LocaleConfigManager::isSupported($name) Whether the given configuration is supported for interface translation. Parameters string $name: The configuration name. Return value bool TRUE if interface translation is supported. File core/modules/locale/src/LocaleConfigManager.php, line 532 Class LocaleConfigManager Manages configuration supported in part by interface translation. Namespace Drupal\locale Code public function isSupported($name) { return $this->getDefaultConfigLa