ForumManager::getParents

public ForumManager::getParents($tid) Fetches the parent forums for a given forum. Parameters int $tid: Term ID. Return value array Array of parent terms. Overrides ForumManagerInterface::getParents Deprecated Scheduled to be removed in 9.0.x, see https://www.drupal.org/node/2371593. File core/modules/forum/src/ForumManager.php, line 460 Class ForumManager Provides forum manager service. Namespace Drupal\forum Code public function getParents($tid) { return $this->entityManage

ContentTranslationHandlerInterface::retranslate

public ContentTranslationHandlerInterface::retranslate(EntityInterface $entity, $langcode = NULL) Marks translations as outdated. Parameters \Drupal\Core\Entity\EntityInterface $entity: The entity being translated. string $langcode: (optional) The language code of the updated language: all the other translations will be marked as outdated. Defaults to the entity language. File core/modules/content_translation/src/ContentTranslationHandlerInterface.php, line 60 Class ContentTranslationHandl

StorageInterface::rename

public StorageInterface::rename($name, $new_name) Renames a configuration object in the storage. Parameters string $name: The name of a configuration object to rename. string $new_name: The new name of a configuration object. Return value bool TRUE on success, FALSE otherwise. File core/lib/Drupal/Core/Config/StorageInterface.php, line 91 Class StorageInterface Defines an interface for configuration storage. Namespace Drupal\Core\Config Code public function rename($name, $new_name);

ContentTranslationHandler::$manager

The content translation manager. Type: \Drupal\content_translation\ContentTranslationManagerInterface File core/modules/content_translation/src/ContentTranslationHandler.php, line 54 Class ContentTranslationHandler Base class for content translation handlers. Namespace Drupal\content_translation Code protected $manager;

BookRemoveForm::getConfirmText

public BookRemoveForm::getConfirmText() Returns a caption for the button that confirms the action. Return value string The form confirmation text. Overrides ConfirmFormBase::getConfirmText File core/modules/book/src/Form/BookRemoveForm.php, line 80 Class BookRemoveForm Remove form for book module. Namespace Drupal\book\Form Code public function getConfirmText() { return $this->t('Remove'); }

FormCache::$csrfToken

The CSRF token generator to validate the form token. Type: \Drupal\Core\Access\CsrfTokenGenerator File core/lib/Drupal/Core/Form/FormCache.php, line 33 Class FormCache Encapsulates the caching of a form and its form state. Namespace Drupal\Core\Form Code protected $csrfToken;

EntityReferenceSelection::$weight

The weight of the plugin in it's group. Type: int File core/lib/Drupal/Core/Entity/Annotation/EntityReferenceSelection.php, line 70 Class EntityReferenceSelection Defines an EntityReferenceSelection plugin annotation object. Namespace Drupal\Core\Entity\Annotation Code public $weight;

EntityDisplayBase::__sleep

public EntityDisplayBase::__sleep() Overrides ConfigEntityBase::__sleep File core/lib/Drupal/Core/Entity/EntityDisplayBase.php, line 510 Class EntityDisplayBase Provides a common base class for entity view and form displays. Namespace Drupal\Core\Entity Code public function __sleep() { // Only store the definition, not external objects or derived data. $keys = array_keys($this->toArray()); // In addition, we need to keep the entity type and the "is new" status. $keys[] = 'en

UrlGenerator::processRoute

protected UrlGenerator::processRoute($name, SymfonyRoute $route, array &$parameters, BubbleableMetadata $bubbleable_metadata = NULL) Passes the route to the processor manager for altering before compilation. Parameters string $name: The route name. \Symfony\Component\Routing\Route $route: The route object to process. array $parameters: An array of parameters to be passed to the route compiler. \Drupal\Core\Render\BubbleableMetadata $bubbleable_metadata: (optional) Object to collect route p

ConfigurableLanguage::createFromLangcode

public static ConfigurableLanguage::createFromLangcode($langcode) Creates a configurable language object from a langcode. Parameters string $langcode: The language code to use to create the object. Return value $this See also \Drupal\Core\Language\LanguageManager::getStandardLanguageList() File core/modules/language/src/Entity/ConfigurableLanguage.php, line 244 Class ConfigurableLanguage Defines the ConfigurableLanguage entity. Namespace Drupal\language\Entity Code public static fun