- ⧉⌕array (6)
- ⇄⧉#node => Drupal\social_node\Entity\Node (29)$0['#node']
- Properties (29)
- Available methods (147)
- Static class properties (10)
- ⇄public in_preview -> null$0['#node']->in_preview
- ⧉protected values -> array (22)
- ⧉nid => array (1)
- x-default => string (2) "15"
- ⧉vid => array (1)
- x-default => string (2) "19"
- ⧉type => array (1)
- x-default => string (4) "page"
- ⧉uuid => array (1)
- x-default => string (36) "fd994921-6fec-43d4-95a0-ab53c5f3adac"
- ⧉langcode => array (1)
- x-default => string (2) "de"
- ⧉revision_uid => array (1)
- x-default => string (1) "1"
- ⧉revision_timestamp => array (1)
- ⧉x-default => string (10) "1661168161"
2022-08-22 11:36:01 UTC
- ⧉revision_log => array (1)
- x-default => null
- ⧉revision_default => array (1)
- x-default => string (1) "1"
- ⧉isDefaultRevision => array (1)
- x-default => string (1) "1"
- ⧉status => array (1)
- x-default => string (1) "1"
- ⧉uid => array (1)
- x-default => string (1) "1"
- ⧉title => array (1)
- x-default => string (9) "Impressum"
- ⧉created => array (1)
- ⧉x-default => string (10) "1661168116"
2022-08-22 11:35:16 UTC
- ⧉changed => array (1)
- ⧉x-default => string (10) "1662019642"
2022-09-01 08:07:22 UTC
- ⧉promote => array (1)
- x-default => string (1) "0"
- ⧉sticky => array (1)
- x-default => string (1) "0"
- ⧉default_langcode => array (1)
- x-default => string (1) "1"
- ⧉revision_translation_affected => array (1)
- x-default => string (1) "1"
- ⧉body => array (1)
- ⧉x-default => array (1)
- ⧉0 => array (3)
- ⧉value => UTF-8 string (4241) "<h2>Angaben gemäß § 5 TMG</h2> <p> </p> <p> </p> <p>Basisdemokrati...
<h2>Angaben gemäß § 5 TMG</h2> <p> </p> <p> </p> <p>Basisdemokratische Partei Deutschland</p> <p>Landesverband Niedersachsen<br /> Südstraße 6a<br /> 31785 Hameln</p> <p> </p> <p> </p> <p><strong>Vertreten durch:</strong><br /> Benjamin Dieckmann und stellv. Vors. Annette Janus</p> <p> </p> <p> </p> <h3>Kontakt</h3> <p> </p> <p> </p> <p>E-Mail: <a href="mailto:post@diebasis-nds.de">post@diebasis-nds.de</a></p> <p>Tel.: 0511 – 80 90 79 22 -0<br /> Fax: 0511 – 80 90 79 22 -99</p> <h3 id="umsatzsteuer-id">Umsatzsteuer-ID</h3> <p>Umsatzsteuer-Identifikationsnummer gemäß § 27 a Umsatzsteuergesetz:<br /> noch nicht vorhanden</p> <p> </p> <p> </p> <h3 id="verantwortlich-fur-den-inhalt-nach-55-abs-2-rstv">Verantwortlich für den Inhalt nach § 55 Abs. 2 RStV</h3> <p> </p> <p> </p> <p>Redaktionsvorsitz</p> <p>Basisdemokratische Partei Deutschland</p> <p>Landesverband Niedersachsen<br /> Benjamin Dieckmann<br /> Südstraße 6a<br /> 31785 Hameln</p> <p> </p> <p> </p> <h3>Verbraucherstreitbeilegung / Universalschlichtungsstelle</h3> <p> </p> <p> </p> <p>Wir sind nicht bereit oder verpflichtet, an Streitbeilegungsverfahren vor einer Verbraucherschlichtungsstelle teilzunehmen.</p> <h3 id="haftung-fur-inhalte">Haftung für Inhalte</h3> <p>Als Diensteanbieter sind wir gemäß § 7 Abs.1 TMG für eigene Inhalte auf diesen Seiten nach den allgemeinen Gesetzen verantwortlich. Nach §§ 8 bis 10 TMG sind wir als Diensteanbieter jedoch nicht verpflichtet, übermittelte oder gespeicherte fremde Informationen zu überwachen oder nach Umständen zu forschen, die auf eine rechtswidrige Tätigkeit hinweisen.</p> <p>Verpflichtungen zur Entfernung oder Sperrung der Nutzung von Informationen nach den allgemeinen Gesetzen bleiben hiervon unberührt. Eine diesbezügliche Haftung ist jedoch erst ab dem Zeitpunkt der Kenntnis einer konkreten Rechtsverletzung möglich. Bei Bekanntwerden von entsprechenden Rechtsverletzungen werden wir diese Inhalte umgehend entfernen.</p> <h3 id="haftung-fur-links">Haftung für Links</h3> <p>Unser Angebot enthält Links zu externen Websites Dritter, auf deren Inhalte wir keinen Einfluss haben. Deshalb können wir für diese fremden Inhalte auch keine Gewähr übernehmen. Für die Inhalte der verlinkten Seiten ist stets der jeweilige Anbieter oder Betreiber der Seiten verantwortlich. Die verlinkten Seiten wurden zum Zeitpunkt der Verlinkung auf mögliche Rechtsverstöße überprüft. Rechtswidrige Inhalte waren zum Zeitpunkt der Verlinkung nicht erkennbar.</p> <p>Eine permanente inhaltliche Kontrolle der verlinkten Seiten ist jedoch ohne konkrete Anhaltspunkte einer Rechtsverletzung nicht zumutbar. Bei Bekanntwerden von Rechtsverletzungen werden wir derartige Links umgehend entfernen.</p> <h3 id="urheberrecht">Urheberrecht</h3> <p>Die durch die Seitenbetreiber erstellten Inhalte und Werke auf diesen Seiten unterliegen dem deutschen Urheberrecht. Die Vervielfältigung, Bearbeitung, Verbreitung und jede Art der Verwertung außerhalb der Grenzen des Urheberrechtes bedürfen der schriftlichen Zustimmung des jeweiligen Autors bzw. Erstellers. Downloads und Kopien dieser Seite sind nur für den privaten, nicht kommerziellen Gebrauch gestattet.</p> <p>Soweit die Inhalte auf dieser Seite nicht vom Betreiber erstellt wurden, werden die Urheberrechte Dritter beachtet. Insbesondere werden Inhalte Dritter als solche gekennzeichnet. Sollten Sie trotzdem auf eine Urheberrechtsverletzung aufmerksam werden, bitten wir um einen entsprechenden Hinweis. Bei Bekanntwerden von Rechtsverletzungen werden wir derartige Inhalte umgehend entfernen.</p> <p> </p> <p> </p> <h3>Bilderquellen</h3> <p> </p> <p> </p> <p>Bildnachweise: © 2020 – 2022 dieBasis, Marketing und lizenzfreie Bilder von <a href="https://pixabay.com/de/" rel="noreferrer noopener nofollow" target="_blank">Pixabay</a>, <a href="https://www.pexels.com/" rel="noreferrer noopener nofollow" target="_blank">Pexels</a> und <a href="https://envato.com/" rel="noopener" target="_blank">Envato</a>.</p>
- summary => string (0) ""
- format => string (9) "full_html"
- ⧉field_content_visibility => array (1)
- ⧉x-default => array (1)
- ⧉0 => array (1)
- value => string (6) "public"
- ⧉field_page_comments => array (1)
- ⧉x-default => array (1)
- ⧉0 => array (6)
- status => string (1) "1"
- cid => string (1) "0"
- ⧉last_comment_timestamp => string (10) "1661168161"
2022-08-22 11:36:01 UTC
- last_comment_name => null
- last_comment_uid => string (1) "1"
- comment_count => string (1) "0"
- protected fields -> array (0)
- protected fieldDefinitions -> null
- ⧉protected languages -> array (3)
- ⧉de => Drupal\Core\Language\Language (5)
- Properties (5)
- Available methods (9)
- Static class properties (16)
- protected name -> string (6) "German"
- protected id -> string (2) "de"
- protected direction -> string (3) "ltr"
- protected weight -> integer 0
- protected locked -> boolean false
- ⧉public __construct(array $values = array()) Constructs a new class instance.
/** * Constructs a new class instance. * * @param array $values * An array of property values, keyed by property name, used to construct * the language. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:77
- ⧉public getName() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:101
- ⧉public getId() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:108
- ⧉public getDirection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:115
- ⧉public getWeight() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:122
- ⧉public isDefault() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:129
- ⧉public isLocked() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:136
- ⇄⧉public static sort(&$languages) Sort language objects.\Drupal\Core\Language\Language::sort(&$languages)
/** * Sort language objects. * * @param \Drupal\Core\Language\LanguageInterface[] $languages * The array of language objects keyed by langcode. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:146
- ⧉protected static getDefaultLangcode(): string Gets the default langcode.
/** * Gets the default langcode. * * @return string * The current default langcode. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:173
- ⇄⧉public static $defaultValues :: array (5)\Drupal\Core\Language\Language::$defaultValues
- ⇄id => string (2) "en"\Drupal\Core\Language\Language::$defaultValues['id']
- ⇄name => string (7) "English"\Drupal\Core\Language\Language::$defaultValues['name']
- ⇄direction => string (3) "ltr"\Drupal\Core\Language\Language::$defaultValues['direction']
- ⇄weight => integer 0\Drupal\Core\Language\Language::$defaultValues['weight']
- ⇄locked => boolean false\Drupal\Core\Language\Language::$defaultValues['locked']
- ⇄id => string (2) "en"
- ⇄const LANGCODE_SYSTEM :: string (6) "system"\Drupal\Core\Language\Language::LANGCODE_SYSTEM
- ⇄const LANGCODE_NOT_SPECIFIED :: string (3) "und"\Drupal\Core\Language\Language::LANGCODE_NOT_SPECIFIED
- ⇄const LANGCODE_NOT_APPLICABLE :: string (3) "zxx"\Drupal\Core\Language\Language::LANGCODE_NOT_APPLICABLE
- ⇄const LANGCODE_DEFAULT :: string (9) "x-default"\Drupal\Core\Language\Language::LANGCODE_DEFAULT
- ⇄const LANGCODE_SITE_DEFAULT :: string (12) "site_default"\Drupal\Core\Language\Language::LANGCODE_SITE_DEFAULT
- ⇄const VALID_LANGCODE_REGEX :: string (33) "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"\Drupal\Core\Language\Language::VALID_LANGCODE_REGEX
- ⇄const STATE_CONFIGURABLE :: integer 1\Drupal\Core\Language\Language::STATE_CONFIGURABLE
- ⇄const STATE_LOCKED :: integer 2\Drupal\Core\Language\Language::STATE_LOCKED
- ⇄const STATE_ALL :: integer 3\Drupal\Core\Language\Language::STATE_ALL
- ⇄const STATE_SITE_DEFAULT :: integer 4\Drupal\Core\Language\Language::STATE_SITE_DEFAULT
- ⇄const TYPE_CONTENT :: string (16) "language_content"\Drupal\Core\Language\Language::TYPE_CONTENT
- ⇄const TYPE_INTERFACE :: string (18) "language_interface"\Drupal\Core\Language\Language::TYPE_INTERFACE
- ⇄const TYPE_URL :: string (12) "language_url"\Drupal\Core\Language\Language::TYPE_URL
- ⇄const DIRECTION_LTR :: string (3) "ltr"\Drupal\Core\Language\Language::DIRECTION_LTR
- ⇄const DIRECTION_RTL :: string (3) "rtl"\Drupal\Core\Language\Language::DIRECTION_RTL
- ⇄⧉public static $defaultValues :: array (5)
- ⧉und => Drupal\Core\Language\Language (5)
- Properties (5)
- Available methods (9)
- Static class properties (16)
- protected name -> string (15) "Nicht angegeben"
- protected id -> string (3) "und"
- protected direction -> string (3) "ltr"
- protected weight -> integer 2
- protected locked -> boolean true
- ⧉public __construct(array $values = array()) Constructs a new class instance.
/** * Constructs a new class instance. * * @param array $values * An array of property values, keyed by property name, used to construct * the language. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:77
- ⧉public getName() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:101
- ⧉public getId() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:108
- ⧉public getDirection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:115
- ⧉public getWeight() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:122
- ⧉public isDefault() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:129
- ⧉public isLocked() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:136
- ⇄⧉public static sort(&$languages) Sort language objects.\Drupal\Core\Language\Language::sort(&$languages)
/** * Sort language objects. * * @param \Drupal\Core\Language\LanguageInterface[] $languages * The array of language objects keyed by langcode. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:146
- ⧉protected static getDefaultLangcode(): string Gets the default langcode.
/** * Gets the default langcode. * * @return string * The current default langcode. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:173
- ⇄⧉public static $defaultValues :: array (5)\Drupal\Core\Language\Language::$defaultValues
- ⇄id => string (2) "en"\Drupal\Core\Language\Language::$defaultValues['id']
- ⇄name => string (7) "English"\Drupal\Core\Language\Language::$defaultValues['name']
- ⇄direction => string (3) "ltr"\Drupal\Core\Language\Language::$defaultValues['direction']
- ⇄weight => integer 0\Drupal\Core\Language\Language::$defaultValues['weight']
- ⇄locked => boolean false\Drupal\Core\Language\Language::$defaultValues['locked']
- ⇄id => string (2) "en"
- ⇄const LANGCODE_SYSTEM :: string (6) "system"\Drupal\Core\Language\Language::LANGCODE_SYSTEM
- ⇄const LANGCODE_NOT_SPECIFIED :: string (3) "und"\Drupal\Core\Language\Language::LANGCODE_NOT_SPECIFIED
- ⇄const LANGCODE_NOT_APPLICABLE :: string (3) "zxx"\Drupal\Core\Language\Language::LANGCODE_NOT_APPLICABLE
- ⇄const LANGCODE_DEFAULT :: string (9) "x-default"\Drupal\Core\Language\Language::LANGCODE_DEFAULT
- ⇄const LANGCODE_SITE_DEFAULT :: string (12) "site_default"\Drupal\Core\Language\Language::LANGCODE_SITE_DEFAULT
- ⇄const VALID_LANGCODE_REGEX :: string (33) "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"\Drupal\Core\Language\Language::VALID_LANGCODE_REGEX
- ⇄const STATE_CONFIGURABLE :: integer 1\Drupal\Core\Language\Language::STATE_CONFIGURABLE
- ⇄const STATE_LOCKED :: integer 2\Drupal\Core\Language\Language::STATE_LOCKED
- ⇄const STATE_ALL :: integer 3\Drupal\Core\Language\Language::STATE_ALL
- ⇄const STATE_SITE_DEFAULT :: integer 4\Drupal\Core\Language\Language::STATE_SITE_DEFAULT
- ⇄const TYPE_CONTENT :: string (16) "language_content"\Drupal\Core\Language\Language::TYPE_CONTENT
- ⇄const TYPE_INTERFACE :: string (18) "language_interface"\Drupal\Core\Language\Language::TYPE_INTERFACE
- ⇄const TYPE_URL :: string (12) "language_url"\Drupal\Core\Language\Language::TYPE_URL
- ⇄const DIRECTION_LTR :: string (3) "ltr"\Drupal\Core\Language\Language::DIRECTION_LTR
- ⇄const DIRECTION_RTL :: string (3) "rtl"\Drupal\Core\Language\Language::DIRECTION_RTL
- ⇄⧉public static $defaultValues :: array (5)
- ⧉zxx => Drupal\Core\Language\Language (5)
- Properties (5)
- Available methods (9)
- Static class properties (16)
- protected name -> string (16) "Nicht zutreffend"
- protected id -> string (3) "zxx"
- protected direction -> string (3) "ltr"
- protected weight -> integer 3
- protected locked -> boolean true
- ⧉public __construct(array $values = array()) Constructs a new class instance.
/** * Constructs a new class instance. * * @param array $values * An array of property values, keyed by property name, used to construct * the language. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:77
- ⧉public getName() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:101
- ⧉public getId() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:108
- ⧉public getDirection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:115
- ⧉public getWeight() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:122
- ⧉public isDefault() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:129
- ⧉public isLocked() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:136
- ⇄⧉public static sort(&$languages) Sort language objects.\Drupal\Core\Language\Language::sort(&$languages)
/** * Sort language objects. * * @param \Drupal\Core\Language\LanguageInterface[] $languages * The array of language objects keyed by langcode. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:146
- ⧉protected static getDefaultLangcode(): string Gets the default langcode.
/** * Gets the default langcode. * * @return string * The current default langcode. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/Language.php:173
- ⇄⧉public static $defaultValues :: array (5)\Drupal\Core\Language\Language::$defaultValues
- ⇄id => string (2) "en"\Drupal\Core\Language\Language::$defaultValues['id']
- ⇄name => string (7) "English"\Drupal\Core\Language\Language::$defaultValues['name']
- ⇄direction => string (3) "ltr"\Drupal\Core\Language\Language::$defaultValues['direction']
- ⇄weight => integer 0\Drupal\Core\Language\Language::$defaultValues['weight']
- ⇄locked => boolean false\Drupal\Core\Language\Language::$defaultValues['locked']
- ⇄id => string (2) "en"
- ⇄const LANGCODE_SYSTEM :: string (6) "system"\Drupal\Core\Language\Language::LANGCODE_SYSTEM
- ⇄const LANGCODE_NOT_SPECIFIED :: string (3) "und"\Drupal\Core\Language\Language::LANGCODE_NOT_SPECIFIED
- ⇄const LANGCODE_NOT_APPLICABLE :: string (3) "zxx"\Drupal\Core\Language\Language::LANGCODE_NOT_APPLICABLE
- ⇄const LANGCODE_DEFAULT :: string (9) "x-default"\Drupal\Core\Language\Language::LANGCODE_DEFAULT
- ⇄const LANGCODE_SITE_DEFAULT :: string (12) "site_default"\Drupal\Core\Language\Language::LANGCODE_SITE_DEFAULT
- ⇄const VALID_LANGCODE_REGEX :: string (33) "[a-zA-Z]{1,8}(-[a-zA-Z0-9]{1,8})*"\Drupal\Core\Language\Language::VALID_LANGCODE_REGEX
- ⇄const STATE_CONFIGURABLE :: integer 1\Drupal\Core\Language\Language::STATE_CONFIGURABLE
- ⇄const STATE_LOCKED :: integer 2\Drupal\Core\Language\Language::STATE_LOCKED
- ⇄const STATE_ALL :: integer 3\Drupal\Core\Language\Language::STATE_ALL
- ⇄const STATE_SITE_DEFAULT :: integer 4\Drupal\Core\Language\Language::STATE_SITE_DEFAULT
- ⇄const TYPE_CONTENT :: string (16) "language_content"\Drupal\Core\Language\Language::TYPE_CONTENT
- ⇄const TYPE_INTERFACE :: string (18) "language_interface"\Drupal\Core\Language\Language::TYPE_INTERFACE
- ⇄const TYPE_URL :: string (12) "language_url"\Drupal\Core\Language\Language::TYPE_URL
- ⇄const DIRECTION_LTR :: string (3) "ltr"\Drupal\Core\Language\Language::DIRECTION_LTR
- ⇄const DIRECTION_RTL :: string (3) "rtl"\Drupal\Core\Language\Language::DIRECTION_RTL
- ⇄⧉public static $defaultValues :: array (5)
- protected langcodeKey -> string (8) "langcode"
- protected defaultLangcodeKey -> string (16) "default_langcode"
- protected activeLangcode -> string (9) "x-default"
- protected defaultLangcode -> string (2) "de"
- ⧉protected translations -> array (1)
- ⧉x-default => array (1)
- status => integer 1
- protected translationInitialize -> boolean false
- protected newRevision -> boolean false
- protected isDefaultRevision -> string (1) "1"
- ⧉protected entityKeys -> array (4)
- bundle => string (4) "page"
- id => string (2) "15"
- revision => string (2) "19"
- uuid => string (36) "fd994921-6fec-43d4-95a0-ab53c5f3adac"
- ⧉protected translatableEntityKeys -> array (8)
- ⧉label => array (1)
- x-default => string (9) "Impressum"
- ⧉langcode => array (1)
- x-default => string (2) "de"
- ⧉status => array (1)
- x-default => string (1) "1"
- ⧉published => array (1)
- x-default => string (1) "1"
- ⧉uid => array (1)
- x-default => string (1) "1"
- ⧉owner => array (1)
- x-default => string (1) "1"
- ⧉default_langcode => array (1)
- x-default => string (1) "1"
- ⧉revision_translation_affected => array (1)
- x-default => string (1) "1"
- protected validated -> boolean false
- protected validationRequired -> boolean false
- protected loadedRevisionId -> string (2) "19"
- protected revisionTranslationAffectedKey -> string (29) "revision_translation_affected"
- protected enforceRevisionTranslationAffected -> array (0)
- protected entityTypeId -> string (4) "node"
- protected enforceIsNew -> null
- protected typedData -> null
- protected cacheContexts -> array (0)
- protected cacheTags -> array (0)
- protected cacheMaxAge -> integer -1
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- protected isSyncing -> boolean false
- ⇄public in_preview -> null
- ⇄⧉public toUrl($rel = 'canonical', array $options = array()) {@inheritdoc}$0['#node']->toUrl($rel = 'canonical', array $options = array())
/** * {@inheritdoc} */ Defined in <ROOT>/profiles/contrib/social/modules/social_features/social_core/src/EntityUrlLanguageTrait.php:27
- ⇄⧉public getOwnerId() {@inheritdoc}$0['#node']->getOwnerId()
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:48
- ⇄⧉public setOwnerId($uid) {@inheritdoc}$0['#node']->setOwnerId($uid)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:55
- ⇄⧉public getOwner() {@inheritdoc}$0['#node']->getOwner()
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:65
- ⇄⧉public setOwner(Drupal\user\UserInterface $account) {@inheritdoc}$0['#node']->setOwner(Drupal\user\UserInterface $account)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:73
- ⇄⧉public preSave(Drupal\Core\Entity\EntityStorageInterface $storage) {@inheritdoc}$0['#node']->preSave(Drupal\Core\Entity\EntityStorageInterface $storage)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:102
- ⇄⧉public preSaveRevision(Drupal\Core\Entity\EntityStorageInterface $storage, stdClass $record) {@inheritdoc}$0['#node']->preSaveRevision(Drupal\Core\Entity\EntityStorageInterface $storage, stdClass $record)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:124
- ⇄⧉public postSave(Drupal\Core\Entity\EntityStorageInterface $storage, $update = true) {@inheritdoc}$0['#node']->postSave(Drupal\Core\Entity\EntityStorageInterface $storage, $update = true)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:139
- ⇄⧉public getType() {@inheritdoc}$0['#node']->getType()
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:186
- ⇄⧉public access($operation = 'view', Drupal\Core\Session\AccountInterface $account = null, $return_as_object = false) {@inheritdoc}$0['#node']->access($operation = 'view', Drupal\Core\Session\AccountInterface $account = null, $return_as_object = false)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:193
- ⇄⧉public getTitle() {@inheritdoc}$0['#node']->getTitle()
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:201
- ⇄⧉public setTitle($title) {@inheritdoc}$0['#node']->setTitle($title)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:208
- ⇄⧉public getCreatedTime() {@inheritdoc}$0['#node']->getCreatedTime()
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:216
- ⇄⧉public setCreatedTime($timestamp) {@inheritdoc}$0['#node']->setCreatedTime($timestamp)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:223
- ⇄⧉public isPromoted() {@inheritdoc}$0['#node']->isPromoted()
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:231
- ⇄⧉public setPromoted($promoted) {@inheritdoc}$0['#node']->setPromoted($promoted)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:238
- ⇄⧉public isSticky() {@inheritdoc}$0['#node']->isSticky()
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:246
- ⇄⧉public setSticky($sticky) {@inheritdoc}$0['#node']->setSticky($sticky)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:253
- ⇄⧉public getChangedTimeAcrossTranslations(): int Returns the timestamp of the last entity change across all translations.$0['#node']->getChangedTimeAcrossTranslations()
/** * Returns the timestamp of the last entity change across all translations. * * @return int * The timestamp of the last entity save operation across all * translations. */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityChangedTrait.php:17
- ⇄⧉public getChangedTime(): int Gets the timestamp of the last entity change for the current translation.$0['#node']->getChangedTime()
/** * Gets the timestamp of the last entity change for the current translation. * * @return int * The timestamp of the last entity save operation. */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityChangedTrait.php:32
- ⇄⧉public setChangedTime($timestamp): $this Sets the timestamp of the last entity change for the current translation.$0['#node']->setChangedTime($timestamp)
/** * Sets the timestamp of the last entity change for the current translation. * * @param int $timestamp * The timestamp of the last entity save operation. * * @return $this */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityChangedTrait.php:44
- ⇄⧉public isPublished() {@inheritdoc}$0['#node']->isPublished()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php:47
- ⇄⧉public setPublished() {@inheritdoc}$0['#node']->setPublished()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php:54
- ⇄⧉public setUnpublished() {@inheritdoc}$0['#node']->setUnpublished()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php:64
- ⇄⧉public getRevisionCreationTime() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime().$0['#node']->getRevisionCreationTime()
/** * Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionCreationTime(). */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:69
- ⇄⧉public setRevisionCreationTime($timestamp) Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime().$0['#node']->setRevisionCreationTime($timestamp)
/** * Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionCreationTime(). */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:76
- ⇄⧉public getRevisionUser() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser().$0['#node']->getRevisionUser()
/** * Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser(). */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:84
- ⇄⧉public setRevisionUser(Drupal\user\UserInterface $account) Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser().$0['#node']->setRevisionUser(Drupal\user\UserInterface $account)
/** * Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUser(). */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:91
- ⇄⧉public getRevisionUserId() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId().$0['#node']->getRevisionUserId()
/** * Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionUserId(). */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:99
- ⇄⧉public setRevisionUserId($user_id) Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId().$0['#node']->setRevisionUserId($user_id)
/** * Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionUserId(). */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:106
- ⇄⧉public getRevisionLogMessage() Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionLogMessage().$0['#node']->getRevisionLogMessage()
/** * Implements \Drupal\Core\Entity\RevisionLogInterface::getRevisionLogMessage(). */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:114
- ⇄⧉public setRevisionLogMessage($revision_log_message) Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage().$0['#node']->setRevisionLogMessage($revision_log_message)
/** * Implements \Drupal\Core\Entity\RevisionLogInterface::setRevisionLogMessage(). */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:121
- ⇄⧉public setSyncing($syncing) {@inheritdoc}$0['#node']->setSyncing($syncing)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:23
- ⇄⧉public isSyncing() {@inheritdoc}$0['#node']->isSyncing()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:32
- ⇄⧉public __construct(array $values, $entity_type, $bundle = false, $translations = array()) {@inheritdoc}new \Drupal\social_node\Entity\Node(array $values, $entity_type, $bundle = false, $translations = array())
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:189
- ⇄⧉public postCreate(Drupal\Core\Entity\EntityStorageInterface $storage) {@inheritdoc}$0['#node']->postCreate(Drupal\Core\Entity\EntityStorageInterface $storage)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:284
- ⇄⧉public setNewRevision($value = true) {@inheritdoc}$0['#node']->setNewRevision($value = true)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:291
- ⇄⧉public getLoadedRevisionId() {@inheritdoc}$0['#node']->getLoadedRevisionId()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:313
- ⇄⧉public updateLoadedRevisionId() {@inheritdoc}$0['#node']->updateLoadedRevisionId()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:320
- ⇄⧉public isNewRevision() {@inheritdoc}$0['#node']->isNewRevision()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:328
- ⇄⧉public isDefaultRevision($new_value = null) {@inheritdoc}$0['#node']->isDefaultRevision($new_value = null)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:335
- ⇄⧉public wasDefaultRevision() {@inheritdoc}$0['#node']->wasDefaultRevision()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:348
- ⇄⧉public isLatestRevision() {@inheritdoc}$0['#node']->isLatestRevision()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:363
- ⇄⧉public isLatestTranslationAffectedRevision() {@inheritdoc}$0['#node']->isLatestTranslationAffectedRevision()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:373
- ⇄⧉public isRevisionTranslationAffected() {@inheritdoc}$0['#node']->isRevisionTranslationAffected()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:383
- ⇄⧉public setRevisionTranslationAffected($affected) {@inheritdoc}$0['#node']->setRevisionTranslationAffected($affected)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:390
- ⇄⧉public isRevisionTranslationAffectedEnforced() {@inheritdoc}$0['#node']->isRevisionTranslationAffectedEnforced()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:400
- ⇄⧉public setRevisionTranslationAffectedEnforced($enforced) {@inheritdoc}$0['#node']->setRevisionTranslationAffectedEnforced($enforced)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:407
- ⇄⧉public isDefaultTranslation() {@inheritdoc}$0['#node']->isDefaultTranslation()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:415
- ⇄⧉public getRevisionId() {@inheritdoc}$0['#node']->getRevisionId()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:422
- ⇄⧉public isTranslatable() {@inheritdoc}$0['#node']->isTranslatable()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:429
- ⇄⧉public validate() {@inheritdoc}$0['#node']->validate()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:487
- ⇄⧉public isValidationRequired() {@inheritdoc}$0['#node']->isValidationRequired()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:496
- ⇄⧉public setValidationRequired($required) {@inheritdoc}$0['#node']->setValidationRequired($required)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:503
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:520
- ⇄⧉public id() {@inheritdoc}$0['#node']->id()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:538
- ⇄⧉public bundle() {@inheritdoc}$0['#node']->bundle()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:545
- ⇄⧉public uuid() {@inheritdoc}$0['#node']->uuid()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:552
- ⇄⧉public hasField($field_name) {@inheritdoc}$0['#node']->hasField($field_name)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:559
- ⇄⧉public get($field_name) {@inheritdoc}$0['#node']->get($field_name)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:566
- ⇄⧉public getFieldValue($field_name, $property): mixed Gets the value of a specific property of a field.$0['#node']->getFieldValue($field_name, $property)
/** * Gets the value of a specific property of a field. * * Only the first delta can be accessed with this method. * * @param string $field_name * The name of the field. * @param string $property * The field property, "value" for many field types. * * @return mixed */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:633
- ⇄⧉public set($name, $value, $notify = true) {@inheritdoc}$0['#node']->set($name, $value, $notify = true)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:669
- ⇄⧉public getFields($include_computed = true) {@inheritdoc}$0['#node']->getFields($include_computed = true)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:680
- ⇄⧉public getTranslatableFields($include_computed = true) {@inheritdoc}$0['#node']->getTranslatableFields($include_computed = true)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:693
- ⇄⧉public getIterator() {@inheritdoc}$0['#node']->getIterator()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:706
- ⇄⧉public getFieldDefinition($name) {@inheritdoc}$0['#node']->getFieldDefinition($name)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:713
- ⇄⧉public getFieldDefinitions() {@inheritdoc}$0['#node']->getFieldDefinitions()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:725
- ⇄⧉public toArray() {@inheritdoc}$0['#node']->toArray()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:735
- ⇄⧉public language() {@inheritdoc}$0['#node']->language()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:760
- ⇄⧉public onChange($name) {@inheritdoc}$0['#node']->onChange($name)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:826
- ⇄⧉public getTranslation($langcode) {@inheritdoc}$0['#node']->getTranslation($langcode)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:892
- ⇄⧉public getUntranslated() {@inheritdoc}$0['#node']->getUntranslated()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:927
- ⇄⧉public hasTranslation($langcode) {@inheritdoc}$0['#node']->hasTranslation($langcode)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:978
- ⇄⧉public isNewTranslation() {@inheritdoc}$0['#node']->isNewTranslation()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:988
- ⇄⧉public addTranslation($langcode, array $values = array()) {@inheritdoc}$0['#node']->addTranslation($langcode, array $values = array())
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:995
- ⇄⧉public removeTranslation($langcode) {@inheritdoc}$0['#node']->removeTranslation($langcode)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1016
- ⇄⧉public getTranslationStatus($langcode) {@inheritdoc}$0['#node']->getTranslationStatus($langcode)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1045
- ⇄⧉public getTranslationLanguages($include_default = true) {@inheritdoc}$0['#node']->getTranslationLanguages($include_default = true)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1055
- ⇄⧉public updateOriginalValues() Updates the original values with the interim changes.$0['#node']->updateOriginalValues()
/** * Updates the original values with the interim changes. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1072
- ⧉public & __get($name) Implements the magic method for getting object properties.
/** * Implements the magic method for getting object properties. * * @todo: A lot of code still uses non-fields (e.g. $entity->content in view * builders) by reference. Clean that up. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1092
- ⧉public __set($name, $value) Implements the magic method for setting object properties.
/** * Implements the magic method for setting object properties. * * Uses default language always. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1119
- ⧉public __isset($name) Implements the magic method for isset().
/** * Implements the magic method for isset(). */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1153
- ⧉public __unset($name) Implements the magic method for unset().
/** * Implements the magic method for unset(). */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1162
- ⇄⧉public createDuplicate() {@inheritdoc}$0['#node']->createDuplicate()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1176
- ⇄⧉public __clone() Magic method: Implements a deep clone.clone $0['#node']
/** * Magic method: Implements a deep clone. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1205
- ⇄⧉public label() {@inheritdoc}$0['#node']->label()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1291
- ⇄⧉public referencedEntities() {@inheritdoc}$0['#node']->referencedEntities()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1300
- ⇄⧉public hasTranslationChanges() {@inheritdoc}$0['#node']->hasTranslationChanges()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1440
- ⇄⧉public isDefaultTranslationAffectedOnly() {@inheritdoc}$0['#node']->isDefaultTranslationAffectedOnly()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1499
- ⇄⧉public addCacheableDependency($other_object) {@inheritdoc}$0['#node']->addCacheableDependency($other_object)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:15
- ⇄⧉public addCacheContexts(array $cache_contexts) {@inheritdoc}$0['#node']->addCacheContexts(array $cache_contexts)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:31
- ⇄⧉public traitSleep() {@inheritdoc}$0['#node']->traitSleep()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:32
- ⇄⧉public addCacheTags(array $cache_tags) {@inheritdoc}$0['#node']->addCacheTags(array $cache_tags)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:41
- ⇄⧉public mergeCacheMaxAge($max_age) {@inheritdoc}$0['#node']->mergeCacheMaxAge($max_age)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:51
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:67
- ⇄⧉public isNew() {@inheritdoc}$0['#node']->isNew()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:120
- ⇄⧉public enforceIsNew($value = true) {@inheritdoc}$0['#node']->enforceIsNew($value = true)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:127
- ⇄⧉public getEntityTypeId() {@inheritdoc}$0['#node']->getEntityTypeId()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:136
- ⇄⧉public hasLinkTemplate($rel) {@inheritdoc}$0['#node']->hasLinkTemplate($rel)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:222
- ⇄⧉public toLink($text = null, $rel = 'canonical', array $options = array()) {@inheritdoc}$0['#node']->toLink($text = null, $rel = 'canonical', array $options = array())
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:240
- ⇄⧉public uriRelationships() {@inheritdoc}$0['#node']->uriRelationships()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:284
- ⇄⧉public save() {@inheritdoc}$0['#node']->save()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:337
- ⇄⧉public delete() {@inheritdoc}$0['#node']->delete()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:345
- ⇄⧉public getEntityType() {@inheritdoc}$0['#node']->getEntityType()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:371
- ⇄⧉public getCacheContexts() {@inheritdoc}$0['#node']->getCacheContexts()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:436
- ⇄⧉public getCacheTagsToInvalidate() {@inheritdoc}$0['#node']->getCacheTagsToInvalidate()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:457
- ⇄⧉public getCacheTags() {@inheritdoc}$0['#node']->getCacheTags()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:467
- ⇄⧉public getCacheMaxAge() {@inheritdoc}$0['#node']->getCacheMaxAge()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:477
- ⇄⧉public getOriginalId() {@inheritdoc}$0['#node']->getOriginalId()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:559
- ⇄⧉public setOriginalId($id) {@inheritdoc}$0['#node']->setOriginalId($id)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:567
- ⇄⧉public getTypedData() {@inheritdoc}$0['#node']->getTypedData()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:588
- ⇄⧉public getConfigDependencyKey() {@inheritdoc}$0['#node']->getConfigDependencyKey()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:607
- ⇄⧉public getConfigDependencyName() {@inheritdoc}$0['#node']->getConfigDependencyName()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:614
- ⇄⧉public getConfigTarget() {@inheritdoc}$0['#node']->getConfigTarget()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:621
- ⧉protected traitGetFieldsToSkipFromTranslationChangesCheck(Drupal\Core\Entity\ContentEntityInterface $entity): string[] Returns an array of field names to skip when checking for changes.
/** * Returns an array of field names to skip when checking for changes. * * @param \Drupal\Core\Entity\ContentEntityInterface $entity * A content entity object. * * @return string[] * An array of field names. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityChangesDetectionTrait.php:21
- ⧉protected getLanguages() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:268
- ⧉protected clearTranslationCache() Clear entity translation object cache to remove stale references.
/** * Clear entity translation object cache to remove stale references. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:511
- ⧉protected getTranslatedField($name, $langcode): \Drupal\Core\Field\FieldItemListInterface Gets a translated field.
/** * Gets a translated field. * * @return \Drupal\Core\Field\FieldItemListInterface */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:578
- ⧉protected setDefaultLangcode() Populates the local cache for the default language code.
/** * Populates the local cache for the default language code. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:782
- ⧉protected updateFieldLangcodes($langcode) Updates language for already instantiated fields.
/** * Updates language for already instantiated fields. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:815
- ⧉protected initializeTranslation($langcode): \Drupal\Core\Entity\EntityInterface Instantiates a translation object for an existing translation.
/** * Instantiates a translation object for an existing translation. * * The translated entity will be a clone of the current entity with the * specified $langcode. All translations share the same field data structures * to ensure that all of them deal with fresh data. * * @param string $langcode * The language code for the requested translation. * * @return \Drupal\Core\Entity\EntityInterface * The translation object. The content properties of the translation object * are stored as references to the main entity. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:945
- ⧉protected getEntityKey($key): mixed Gets the value of the given entity key, if defined.
/** * Gets the value of the given entity key, if defined. * * @param string $key * Name of the entity key, for example id, revision or bundle. * * @return mixed * The value of the entity key, NULL if not defined. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1327
- ⧉protected getFieldsToSkipFromTranslationChangesCheck(): array Returns an array of field names to skip in ::hasTranslationChanges.
/** * Returns an array of field names to skip in ::hasTranslationChanges. * * @return array * An array of field names. */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1429
- ⧉protected setCacheability(Drupal\Core\Cache\CacheableDependencyInterface $cacheability): $this Sets cacheability; useful for value object constructors.
/** * Sets cacheability; useful for value object constructors. * * @param \Drupal\Core\Cache\CacheableDependencyInterface $cacheability * The cacheability to set. * * @return $this */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Cache/CacheableDependencyTrait.php:39
- ⧉protected entityTypeManager(): \Drupal\Core\Entity\EntityTypeManagerInterface Gets the entity type manager.
/** * Gets the entity type manager. * * @return \Drupal\Core\Entity\EntityTypeManagerInterface */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:72
- ⧉protected entityTypeBundleInfo(): \Drupal\Core\Entity\EntityTypeBundleInfoInterface Gets the entity type bundle info service.
/** * Gets the entity type bundle info service. * * @return \Drupal\Core\Entity\EntityTypeBundleInfoInterface */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:81
- ⧉protected languageManager(): \Drupal\Core\Language\LanguageManagerInterface Gets the language manager.
/** * Gets the language manager. * * @return \Drupal\Core\Language\LanguageManagerInterface */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:90
- ⧉protected uuidGenerator(): \Drupal\Component\Uuid\UuidInterface Gets the UUID generator.
/** * Gets the UUID generator. * * @return \Drupal\Component\Uuid\UuidInterface */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:99
- ⧉protected linkTemplates(): array Gets an array link templates.
/** * Gets an array link templates. * * @return array * An array of link templates containing paths. */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:233
- ⧉protected urlRouteParameters($rel): array Gets an array of placeholders for this entity.
/** * Gets an array of placeholders for this entity. * * Individual entity classes may override this method to add additional * placeholders if desired. If so, they should be sure to replicate the * property caching logic. * * @param string $rel * The link relationship type, for example: canonical or edit-form. * * @return array * An array of URI placeholders. */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:263
- ⧉protected getListCacheTagsToInvalidate(): string[] The list cache tags to invalidate for this entity.
/** * The list cache tags to invalidate for this entity. * * @return string[] * Set of list cache tags. */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:446
- ⧉protected invalidateTagsOnSave($update) Invalidates an entity's cache tags upon save.
/** * Invalidates an entity's cache tags upon save. * * @param bool $update * TRUE if the entity has been updated, or FALSE if it has been inserted. */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:517
- ⇄⧉public static ownerBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type): \Drupal\Core\Field\BaseFieldDefinition[] Returns an array of base field definitions for entity owners.\Drupal\node\Entity\Node::ownerBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
/** * Returns an array of base field definitions for entity owners. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type to add the owner field to. * * @return \Drupal\Core\Field\BaseFieldDefinition[] * An array of base field definitions. * * @throws \Drupal\Core\Entity\Exception\UnsupportedEntityTypeDefinitionException * Thrown when the entity type does not implement EntityOwnerInterface or * if it does not have an "owner" entity key. */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:28
- ⇄⧉public static getDefaultEntityOwner(): mixed Default value callback for 'owner' base field.\Drupal\node\Entity\Node::getDefaultEntityOwner()
/** * Default value callback for 'owner' base field. * * @return mixed * A default value for the owner field. */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:86
- ⇄⧉public static preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $entities) {@inheritdoc}\Drupal\node\Entity\Node::preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $entities)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:162
- ⇄⧉public static postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $nodes) {@inheritdoc}\Drupal\node\Entity\Node::postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $nodes)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:178
- ⇄⧉public static baseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type) {@inheritdoc}\Drupal\node\Entity\Node::baseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
/** * {@inheritdoc} */ Inherited from Drupal\node\Entity\Node Defined in <ROOT>/core/modules/node/src/Entity/Node.php:261
- ⇄⧉public static publishedBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type): \Drupal\Core\Field\BaseFieldDefinition[] Returns an array of base field definitions for publishing status.\Drupal\Core\Entity\EditorialContentEntityBase::publishedBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
/** * Returns an array of base field definitions for publishing status. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type to add the publishing status field to. * * @return \Drupal\Core\Field\BaseFieldDefinition[] * An array of base field definitions. * * @throws \Drupal\Core\Entity\Exception\UnsupportedEntityTypeDefinitionException * Thrown when the entity type does not implement EntityPublishedInterface * or if it does not have a "published" entity key. */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityPublishedTrait.php:27
- ⇄⧉public static revisionLogBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type): \Drupal\Core\Field\FieldDefinitionInterface[] Provides revision-related base field definitions for an entity type.\Drupal\Core\Entity\EditorialContentEntityBase::revisionLogBaseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
/** * Provides revision-related base field definitions for an entity type. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * * @return \Drupal\Core\Field\FieldDefinitionInterface[] * An array of base field definitions for the entity type, keyed by field * name. * * @see \Drupal\Core\Entity\FieldableEntityInterface::baseFieldDefinitions() */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:28
- ⇄⧉public static bundleFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle, array $base_field_definitions) {@inheritdoc}\Drupal\Core\Entity\ContentEntityBase::bundleFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle, array $base_field_definitions)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1419
- ⇄⧉public static preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values) {@inheritdoc}\Drupal\Core\Entity\EntityBase::preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:398
- ⇄⧉public static postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities) {@inheritdoc}\Drupal\Core\Entity\EntityBase::postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:423
- ⇄⧉public static load($id) {@inheritdoc}\Drupal\Core\Entity\EntityBase::load($id)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:484
- ⇄⧉public static loadMultiple(array $ids = null) {@inheritdoc}\Drupal\Core\Entity\EntityBase::loadMultiple(array $ids = null)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:494
- ⇄⧉public static create(array $values = array()) {@inheritdoc}\Drupal\Core\Entity\EntityBase::create(array $values = array())
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:504
- ⧉protected static getRevisionMetadataKey(Drupal\Core\Entity\EntityTypeInterface $entity_type, $key): string Gets the name of a revision metadata field.
/** * Gets the name of a revision metadata field. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * A content entity type definition. * @param string $key * The revision metadata key to get, must be one of 'revision_created', * 'revision_user' or 'revision_log_message'. * * @return string * The name of the field for the specified $key. */ Inherited from Drupal\Core\Entity\EditorialContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/RevisionLogEntityTrait.php:138
- ⧉protected static invalidateTagsOnDelete(Drupal\Core\Entity\EntityTypeInterface $entity_type, array $entities) Invalidates an entity's cache tags upon delete.
/** * Invalidates an entity's cache tags upon delete. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityInterface[] $entities * An array of entities. */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:542
- ⇄⧉public toUrl($rel = 'canonical', array $options = array()) {@inheritdoc}
- protected static $fieldsToSkipFromTranslationChangesCheck :: array (0)
- ⇄const TRANSLATION_REMOVED :: integer 0\Drupal\social_node\Entity\Node::TRANSLATION_REMOVED
- ⇄const TRANSLATION_EXISTING :: integer 1\Drupal\social_node\Entity\Node::TRANSLATION_EXISTING
- ⇄const TRANSLATION_CREATED :: integer 2\Drupal\social_node\Entity\Node::TRANSLATION_CREATED
- ⇄const NOT_PUBLISHED :: integer 0\Drupal\social_node\Entity\Node::NOT_PUBLISHED
- ⇄const PUBLISHED :: integer 1\Drupal\social_node\Entity\Node::PUBLISHED
- ⇄const NOT_PROMOTED :: integer 0\Drupal\social_node\Entity\Node::NOT_PROMOTED
- ⇄const PROMOTED :: integer 1\Drupal\social_node\Entity\Node::PROMOTED
- ⇄const NOT_STICKY :: integer 0\Drupal\social_node\Entity\Node::NOT_STICKY
- ⇄const STICKY :: integer 1\Drupal\social_node\Entity\Node::STICKY
- ⇄#view_mode => string (4) "full"$0['#view_mode']
- ⇄⧉#cache => array (5)$0['#cache']
- ⇄⧉tags => array (2)$0['#cache']['tags']
- ⇄0 => string (7) "node:15"$0['#cache']['tags'][0]
- ⇄1 => string (9) "node_view"$0['#cache']['tags'][1]
- ⇄0 => string (7) "node:15"
- ⇄contexts => array (0)$0['#cache']['contexts']
- ⇄max-age => integer -1$0['#cache']['max-age']
- ⇄⧉keys => array (4)$0['#cache']['keys']
- ⇄0 => string (11) "entity_view"$0['#cache']['keys'][0]
- ⇄1 => string (4) "node"$0['#cache']['keys'][1]
- ⇄2 => string (2) "15"$0['#cache']['keys'][2]
- ⇄3 => string (4) "full"$0['#cache']['keys'][3]
- ⇄0 => string (11) "entity_view"
- ⇄bin => string (6) "render"$0['#cache']['bin']
- ⇄⧉tags => array (2)
- ⇄#theme => string (4) "node"$0['#theme']
- ⇄#weight => integer 0$0['#weight']
- ⇄⧉#pre_render => array (1)$0['#pre_render']
- ⇄⧉0 => array (2)$0['#pre_render'][0]
- ⇄⧉0 => Drupal\social_node\NodeViewBuilder (12)$0['#pre_render'][0][0]
- Properties (12)
- Available methods (28)
- Static class properties (3)
- protected entityTypeId -> string (4) "node"
- ⧉protected entityType -> Drupal\Core\Entity\ContentEntityType (40)
- Properties (40)
- Available methods (81)
- Static class properties (2)
- ⧉protected revision_metadata_keys -> array (4)
- revision_user => string (12) "revision_uid"
- revision_created => string (18) "revision_timestamp"
- revision_log_message => string (12) "revision_log"
- revision_default => string (16) "revision_default"
- protected static_cache -> boolean true
- protected render_cache -> boolean true
- protected persistent_cache -> boolean true
- ⧉protected entity_keys -> array (12)
- id => string (3) "nid"
- revision => string (3) "vid"
- bundle => string (4) "type"
- label => string (5) "title"
- langcode => string (8) "langcode"
- uuid => string (4) "uuid"
- status => string (6) "status"
- published => string (6) "status"
- uid => string (3) "uid"
- owner => string (3) "uid"
- default_langcode => string (16) "default_langcode"
- revision_translation_affected => string (29) "revision_translation_affected"
- protected id -> string (4) "node"
- protected originalClass -> string (23) "Drupal\node\Entity\Node"
- ⧉protected handlers -> array (10)
- storage => string (23) "Drupal\node\NodeStorage"
- storage_schema => string (29) "Drupal\node\NodeStorageSchema"
- view_builder => string (34) "Drupal\social_node\NodeViewBuilder"
- access => string (36) "Drupal\node\NodeAccessControlHandler"
- views_data => string (25) "Drupal\node\NodeViewsData"
- ⧉form => array (5) Depth Limit
- ⧉route_provider => array (1) Depth Limit
- list_builder => string (27) "Drupal\node\NodeListBuilder"
- translation => string (34) "Drupal\node\NodeTranslationHandler"
- query_access => string (53) "Drupal\entity\QueryAccess\EventOnlyQueryAccessHandler"
- protected admin_permission -> null
- protected permission_granularity -> string (6) "bundle"
- ⧉protected links -> array (15)
- canonical => string (12) "/node/{node}"
- delete-form => string (19) "/node/{node}/delete"
- delete-multiple-form => string (26) "/admin/content/node/delete"
- edit-form => string (17) "/node/{node}/edit"
- version-history => string (22) "/node/{node}/revisions"
- revision => string (43) "/node/{node}/revisions/{node_revision}/view"
- create => string (5) "/node"
- devel-load => string (18) "/devel/node/{node}"
- devel-render => string (25) "/devel/node/{node}/render"
- devel-definition => string (29) "/devel/node/{node}/definition"
- token-devel => string (24) "/node/{node}/devel/token"
- drupal:content-translation-overview => string (25) "/node/{node}/translations"
- drupal:content-translation-add => string (47) "/node/{node}/translations/add/{source}/{target}"
- drupal:content-translation-edit => string (41) "/node/{node}/translations/edit/{language}"
- drupal:content-translation-delete => string (43) "/node/{node}/translations/delete/{language}"
- protected bundle_entity_type -> string (9) "node_type"
- protected bundle_of -> null
- ⧉protected bundle_label -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- protected string -> string (12) "Content type"
- protected arguments -> array (0)
- ⧉public __toString() Implements the magic __toString() method.
/** * Implements the magic __toString() method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:13
- ⧉public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = null) Constructs a new class instance.
/** * Constructs a new class instance. * * When possible, use the * \Drupal\Core\StringTranslation\StringTranslationTrait $this->t(). Otherwise * create a new \Drupal\Core\StringTranslation\TranslatableMarkup object * directly. * * Calling the trait's t() method or instantiating a new TranslatableMarkup * object serves two purposes: * - At run-time it translates user-visible text into the appropriate * language. * - Static analyzers detect calls to t() and new TranslatableMarkup, and add * the first argument (the string to be translated) to the database of * strings that need translation. These strings are expected to be in * English, so the first argument should always be in English. * To allow the site to be localized, it is important that all human-readable * text that will be displayed on the site or sent to a user is made available * in one of the ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. * See the @link https://www.drupal.org/node/322729 Localization API @endlink * pages for more information, including recommendations on how to break up or * not break up strings for translation. * * @section sec_translating_vars Translating Variables * $string should always be an English literal string. * * $string should never contain a variable, such as: * @code * new TranslatableMarkup($text) * @endcode * There are several reasons for this: * - Using a variable for $string that is user input is a security risk. * - Using a variable for $string that has even guaranteed safe text (for * example, user interface text provided literally in code), will not be * picked up by the localization static text processor. (The parameter could * be a variable if the entire string in $text has been passed into t() or * new TranslatableMarkup() elsewhere as the first argument, but that * strategy is not recommended.) * * It is especially important never to call new TranslatableMarkup($user_text) * or t($user_text) where $user_text is some text that a user entered -- doing * that can lead to cross-site scripting and other security problems. However, * you can use variable substitution in your string, to put variable text such * as user names or link URLs into translated text. Variable substitution * looks like this: * @code * new TranslatableMarkup("@name's blog", array('@name' => $account->getDisplayName())); * @endcode * Basically, you can put placeholders like @name into your string, and the * method will substitute the sanitized values at translation time. (See the * Localization API pages referenced above and the documentation of * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * for details about how to safely and correctly define variables in your * string.) Translators can then rearrange the string as necessary for the * language (e.g., in Spanish, it might be "blog de @name"). * * @param string $string * A string containing the English text to translate. * @param array $arguments * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * (optional) The string translation service. * * @throws \InvalidArgumentException * Exception thrown when $string is not a string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\StringTranslationTrait::t() * * @ingroup sanitization */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:129
- ⧉public getUntranslatedString(): string Gets the untranslated string value stored in this translated string.
/** * Gets the untranslated string value stored in this translated string. * * @return string * The string stored in this wrapper. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:145
- ⧉public getOption($name): mixed Gets a specific option from this translated string.
/** * Gets a specific option from this translated string. * * @param string $name * Option name. * * @return mixed * The value of this option or empty string of option is not set. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:158
- ⧉public getOptions(): mixed[] Gets all options from this translated string.
/** * Gets all options from this translated string. * * @return mixed[] * The array of options. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:168
- ⧉public getArguments(): mixed[] Gets all arguments from this translated string.
/** * Gets all arguments from this translated string. * * @return mixed[] * The array of arguments. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:178
- ⧉public render(): string Renders the object as a string.
/** * Renders the object as a string. * * @return string * The translated string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:188
- ⧉public __sleep() Magic __sleep() method to avoid serializing the string translator.
/** * Magic __sleep() method to avoid serializing the string translator. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:203
- ⧉public count(): int Returns the string length.
/** * Returns the string length. * * @return int * The length of the string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:227
- ⧉public jsonSerialize(): string Returns a representation of the object for use in JSON serialization.
/** * Returns a representation of the object for use in JSON serialization. * * @return string * The safe string content. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:118
- ⧉protected _die() For test purposes, wrap die() in an overridable method.
/** * For test purposes, wrap die() in an overridable method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:31
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:213
- ⧉protected static placeholderFormat($string, array $args): string Replaces placeholders in a string with values.
/** * Replaces placeholders in a string with values. * * @param string $string * A string containing placeholders. The string itself is expected to be * safe and correct HTML. Any unsafe content must be in $args and * inserted via placeholders. * @param array $args * An associative array of replacements. Each array key should be the same * as a placeholder in $string. The corresponding value should be a string * or an object that implements * \Drupal\Component\Render\MarkupInterface. The value replaces the * placeholder in $string. Sanitization and formatting will be done before * replacement. The type of sanitization and formatting depends on the first * character of the key: * - @variable: When the placeholder replacement value is: * - A string, the replaced value in the returned string will be sanitized * using \Drupal\Component\Utility\Html::escape(). * - A MarkupInterface object, the replaced value in the returned string * will not be sanitized. * - A MarkupInterface object cast to a string, the replaced value in the * returned string be forcibly sanitized using * \Drupal\Component\Utility\Html::escape(). * @code * $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object)); * @endcode * Use this placeholder as the default choice for anything displayed on * the site, but not within HTML attributes, JavaScript, or CSS. Doing so * is a security risk. * - %variable: Use when the replacement value is to be wrapped in <em> * tags. * A call like: * @code * $string = "%output_text"; * $arguments = ['%output_text' => 'text output here.']; * $this->placeholderFormat($string, $arguments); * @endcode * makes the following HTML code: * @code * <em class="placeholder">text output here.</em> * @endcode * As with @variable, do not use this within HTML attributes, JavaScript, * or CSS. Doing so is a security risk. * - :variable: Return value is escaped with * \Drupal\Component\Utility\Html::escape() and filtered for dangerous * protocols using UrlHelper::stripDangerousProtocols(). Use this when * using the "href" attribute, ensuring the attribute value is always * wrapped in quotes: * @code * // Secure (with quotes): * $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]); * // Insecure (without quotes): * $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]); * @endcode * When ":variable" comes from arbitrary user input, the result is secure, * but not guaranteed to be a valid URL (which means the resulting output * could fail HTML validation). To guarantee a valid URL, use * Url::fromUri($user_input)->toString() (which either throws an exception * or returns a well-formed URL) before passing the result into a * ":variable" placeholder. * * @return string * A formatted HTML string with the placeholders replaced. * * @ingroup sanitization * * @see \Drupal\Core\StringTranslation\TranslatableMarkup * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup * @see \Drupal\Component\Utility\Html::escape() * @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() * @see \Drupal\Core\Url::fromUri() */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:194
- ⧉protected static placeholderEscape($value): string Escapes a placeholder replacement value if needed.
/** * Escapes a placeholder replacement value if needed. * * @param string|\Drupal\Component\Render\MarkupInterface $value * A placeholder replacement value. * * @return string * The properly escaped replacement value. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:259
- protected base_table -> string (4) "node"
- protected revision_data_table -> string (19) "node_field_revision"
- protected revision_table -> string (13) "node_revision"
- protected data_table -> string (15) "node_field_data"
- protected internal -> boolean false
- protected translatable -> boolean true
- protected show_revision_ui -> boolean true
- ⧉protected label -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- protected string -> string (7) "Content"
- protected arguments -> array (0)
- ⧉public __toString() Implements the magic __toString() method.
/** * Implements the magic __toString() method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:13
- ⧉public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = null) Constructs a new class instance.
/** * Constructs a new class instance. * * When possible, use the * \Drupal\Core\StringTranslation\StringTranslationTrait $this->t(). Otherwise * create a new \Drupal\Core\StringTranslation\TranslatableMarkup object * directly. * * Calling the trait's t() method or instantiating a new TranslatableMarkup * object serves two purposes: * - At run-time it translates user-visible text into the appropriate * language. * - Static analyzers detect calls to t() and new TranslatableMarkup, and add * the first argument (the string to be translated) to the database of * strings that need translation. These strings are expected to be in * English, so the first argument should always be in English. * To allow the site to be localized, it is important that all human-readable * text that will be displayed on the site or sent to a user is made available * in one of the ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. * See the @link https://www.drupal.org/node/322729 Localization API @endlink * pages for more information, including recommendations on how to break up or * not break up strings for translation. * * @section sec_translating_vars Translating Variables * $string should always be an English literal string. * * $string should never contain a variable, such as: * @code * new TranslatableMarkup($text) * @endcode * There are several reasons for this: * - Using a variable for $string that is user input is a security risk. * - Using a variable for $string that has even guaranteed safe text (for * example, user interface text provided literally in code), will not be * picked up by the localization static text processor. (The parameter could * be a variable if the entire string in $text has been passed into t() or * new TranslatableMarkup() elsewhere as the first argument, but that * strategy is not recommended.) * * It is especially important never to call new TranslatableMarkup($user_text) * or t($user_text) where $user_text is some text that a user entered -- doing * that can lead to cross-site scripting and other security problems. However, * you can use variable substitution in your string, to put variable text such * as user names or link URLs into translated text. Variable substitution * looks like this: * @code * new TranslatableMarkup("@name's blog", array('@name' => $account->getDisplayName())); * @endcode * Basically, you can put placeholders like @name into your string, and the * method will substitute the sanitized values at translation time. (See the * Localization API pages referenced above and the documentation of * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * for details about how to safely and correctly define variables in your * string.) Translators can then rearrange the string as necessary for the * language (e.g., in Spanish, it might be "blog de @name"). * * @param string $string * A string containing the English text to translate. * @param array $arguments * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * (optional) The string translation service. * * @throws \InvalidArgumentException * Exception thrown when $string is not a string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\StringTranslationTrait::t() * * @ingroup sanitization */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:129
- ⧉public getUntranslatedString(): string Gets the untranslated string value stored in this translated string.
/** * Gets the untranslated string value stored in this translated string. * * @return string * The string stored in this wrapper. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:145
- ⧉public getOption($name): mixed Gets a specific option from this translated string.
/** * Gets a specific option from this translated string. * * @param string $name * Option name. * * @return mixed * The value of this option or empty string of option is not set. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:158
- ⧉public getOptions(): mixed[] Gets all options from this translated string.
/** * Gets all options from this translated string. * * @return mixed[] * The array of options. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:168
- ⧉public getArguments(): mixed[] Gets all arguments from this translated string.
/** * Gets all arguments from this translated string. * * @return mixed[] * The array of arguments. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:178
- ⧉public render(): string Renders the object as a string.
/** * Renders the object as a string. * * @return string * The translated string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:188
- ⧉public __sleep() Magic __sleep() method to avoid serializing the string translator.
/** * Magic __sleep() method to avoid serializing the string translator. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:203
- ⧉public count(): int Returns the string length.
/** * Returns the string length. * * @return int * The length of the string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:227
- ⧉public jsonSerialize(): string Returns a representation of the object for use in JSON serialization.
/** * Returns a representation of the object for use in JSON serialization. * * @return string * The safe string content. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:118
- ⧉protected _die() For test purposes, wrap die() in an overridable method.
/** * For test purposes, wrap die() in an overridable method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:31
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:213
- ⧉protected static placeholderFormat($string, array $args): string Replaces placeholders in a string with values.
/** * Replaces placeholders in a string with values. * * @param string $string * A string containing placeholders. The string itself is expected to be * safe and correct HTML. Any unsafe content must be in $args and * inserted via placeholders. * @param array $args * An associative array of replacements. Each array key should be the same * as a placeholder in $string. The corresponding value should be a string * or an object that implements * \Drupal\Component\Render\MarkupInterface. The value replaces the * placeholder in $string. Sanitization and formatting will be done before * replacement. The type of sanitization and formatting depends on the first * character of the key: * - @variable: When the placeholder replacement value is: * - A string, the replaced value in the returned string will be sanitized * using \Drupal\Component\Utility\Html::escape(). * - A MarkupInterface object, the replaced value in the returned string * will not be sanitized. * - A MarkupInterface object cast to a string, the replaced value in the * returned string be forcibly sanitized using * \Drupal\Component\Utility\Html::escape(). * @code * $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object)); * @endcode * Use this placeholder as the default choice for anything displayed on * the site, but not within HTML attributes, JavaScript, or CSS. Doing so * is a security risk. * - %variable: Use when the replacement value is to be wrapped in <em> * tags. * A call like: * @code * $string = "%output_text"; * $arguments = ['%output_text' => 'text output here.']; * $this->placeholderFormat($string, $arguments); * @endcode * makes the following HTML code: * @code * <em class="placeholder">text output here.</em> * @endcode * As with @variable, do not use this within HTML attributes, JavaScript, * or CSS. Doing so is a security risk. * - :variable: Return value is escaped with * \Drupal\Component\Utility\Html::escape() and filtered for dangerous * protocols using UrlHelper::stripDangerousProtocols(). Use this when * using the "href" attribute, ensuring the attribute value is always * wrapped in quotes: * @code * // Secure (with quotes): * $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]); * // Insecure (without quotes): * $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]); * @endcode * When ":variable" comes from arbitrary user input, the result is secure, * but not guaranteed to be a valid URL (which means the resulting output * could fail HTML validation). To guarantee a valid URL, use * Url::fromUri($user_input)->toString() (which either throws an exception * or returns a well-formed URL) before passing the result into a * ":variable" placeholder. * * @return string * A formatted HTML string with the placeholders replaced. * * @ingroup sanitization * * @see \Drupal\Core\StringTranslation\TranslatableMarkup * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup * @see \Drupal\Component\Utility\Html::escape() * @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() * @see \Drupal\Core\Url::fromUri() */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:194
- ⧉protected static placeholderEscape($value): string Escapes a placeholder replacement value if needed.
/** * Escapes a placeholder replacement value if needed. * * @param string|\Drupal\Component\Render\MarkupInterface $value * A placeholder replacement value. * * @return string * The properly escaped replacement value. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:259
- ⧉protected label_collection -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- protected string -> string (7) "Content"
- protected arguments -> array (0)
- ⧉public __toString() Implements the magic __toString() method.
/** * Implements the magic __toString() method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:13
- ⧉public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = null) Constructs a new class instance.
/** * Constructs a new class instance. * * When possible, use the * \Drupal\Core\StringTranslation\StringTranslationTrait $this->t(). Otherwise * create a new \Drupal\Core\StringTranslation\TranslatableMarkup object * directly. * * Calling the trait's t() method or instantiating a new TranslatableMarkup * object serves two purposes: * - At run-time it translates user-visible text into the appropriate * language. * - Static analyzers detect calls to t() and new TranslatableMarkup, and add * the first argument (the string to be translated) to the database of * strings that need translation. These strings are expected to be in * English, so the first argument should always be in English. * To allow the site to be localized, it is important that all human-readable * text that will be displayed on the site or sent to a user is made available * in one of the ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. * See the @link https://www.drupal.org/node/322729 Localization API @endlink * pages for more information, including recommendations on how to break up or * not break up strings for translation. * * @section sec_translating_vars Translating Variables * $string should always be an English literal string. * * $string should never contain a variable, such as: * @code * new TranslatableMarkup($text) * @endcode * There are several reasons for this: * - Using a variable for $string that is user input is a security risk. * - Using a variable for $string that has even guaranteed safe text (for * example, user interface text provided literally in code), will not be * picked up by the localization static text processor. (The parameter could * be a variable if the entire string in $text has been passed into t() or * new TranslatableMarkup() elsewhere as the first argument, but that * strategy is not recommended.) * * It is especially important never to call new TranslatableMarkup($user_text) * or t($user_text) where $user_text is some text that a user entered -- doing * that can lead to cross-site scripting and other security problems. However, * you can use variable substitution in your string, to put variable text such * as user names or link URLs into translated text. Variable substitution * looks like this: * @code * new TranslatableMarkup("@name's blog", array('@name' => $account->getDisplayName())); * @endcode * Basically, you can put placeholders like @name into your string, and the * method will substitute the sanitized values at translation time. (See the * Localization API pages referenced above and the documentation of * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * for details about how to safely and correctly define variables in your * string.) Translators can then rearrange the string as necessary for the * language (e.g., in Spanish, it might be "blog de @name"). * * @param string $string * A string containing the English text to translate. * @param array $arguments * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * (optional) The string translation service. * * @throws \InvalidArgumentException * Exception thrown when $string is not a string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\StringTranslationTrait::t() * * @ingroup sanitization */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:129
- ⧉public getUntranslatedString(): string Gets the untranslated string value stored in this translated string.
/** * Gets the untranslated string value stored in this translated string. * * @return string * The string stored in this wrapper. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:145
- ⧉public getOption($name): mixed Gets a specific option from this translated string.
/** * Gets a specific option from this translated string. * * @param string $name * Option name. * * @return mixed * The value of this option or empty string of option is not set. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:158
- ⧉public getOptions(): mixed[] Gets all options from this translated string.
/** * Gets all options from this translated string. * * @return mixed[] * The array of options. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:168
- ⧉public getArguments(): mixed[] Gets all arguments from this translated string.
/** * Gets all arguments from this translated string. * * @return mixed[] * The array of arguments. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:178
- ⧉public render(): string Renders the object as a string.
/** * Renders the object as a string. * * @return string * The translated string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:188
- ⧉public __sleep() Magic __sleep() method to avoid serializing the string translator.
/** * Magic __sleep() method to avoid serializing the string translator. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:203
- ⧉public count(): int Returns the string length.
/** * Returns the string length. * * @return int * The length of the string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:227
- ⧉public jsonSerialize(): string Returns a representation of the object for use in JSON serialization.
/** * Returns a representation of the object for use in JSON serialization. * * @return string * The safe string content. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:118
- ⧉protected _die() For test purposes, wrap die() in an overridable method.
/** * For test purposes, wrap die() in an overridable method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:31
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:213
- ⧉protected static placeholderFormat($string, array $args): string Replaces placeholders in a string with values.
/** * Replaces placeholders in a string with values. * * @param string $string * A string containing placeholders. The string itself is expected to be * safe and correct HTML. Any unsafe content must be in $args and * inserted via placeholders. * @param array $args * An associative array of replacements. Each array key should be the same * as a placeholder in $string. The corresponding value should be a string * or an object that implements * \Drupal\Component\Render\MarkupInterface. The value replaces the * placeholder in $string. Sanitization and formatting will be done before * replacement. The type of sanitization and formatting depends on the first * character of the key: * - @variable: When the placeholder replacement value is: * - A string, the replaced value in the returned string will be sanitized * using \Drupal\Component\Utility\Html::escape(). * - A MarkupInterface object, the replaced value in the returned string * will not be sanitized. * - A MarkupInterface object cast to a string, the replaced value in the * returned string be forcibly sanitized using * \Drupal\Component\Utility\Html::escape(). * @code * $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object)); * @endcode * Use this placeholder as the default choice for anything displayed on * the site, but not within HTML attributes, JavaScript, or CSS. Doing so * is a security risk. * - %variable: Use when the replacement value is to be wrapped in <em> * tags. * A call like: * @code * $string = "%output_text"; * $arguments = ['%output_text' => 'text output here.']; * $this->placeholderFormat($string, $arguments); * @endcode * makes the following HTML code: * @code * <em class="placeholder">text output here.</em> * @endcode * As with @variable, do not use this within HTML attributes, JavaScript, * or CSS. Doing so is a security risk. * - :variable: Return value is escaped with * \Drupal\Component\Utility\Html::escape() and filtered for dangerous * protocols using UrlHelper::stripDangerousProtocols(). Use this when * using the "href" attribute, ensuring the attribute value is always * wrapped in quotes: * @code * // Secure (with quotes): * $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]); * // Insecure (without quotes): * $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]); * @endcode * When ":variable" comes from arbitrary user input, the result is secure, * but not guaranteed to be a valid URL (which means the resulting output * could fail HTML validation). To guarantee a valid URL, use * Url::fromUri($user_input)->toString() (which either throws an exception * or returns a well-formed URL) before passing the result into a * ":variable" placeholder. * * @return string * A formatted HTML string with the placeholders replaced. * * @ingroup sanitization * * @see \Drupal\Core\StringTranslation\TranslatableMarkup * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup * @see \Drupal\Component\Utility\Html::escape() * @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() * @see \Drupal\Core\Url::fromUri() */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:194
- ⧉protected static placeholderEscape($value): string Escapes a placeholder replacement value if needed.
/** * Escapes a placeholder replacement value if needed. * * @param string|\Drupal\Component\Render\MarkupInterface $value * A placeholder replacement value. * * @return string * The properly escaped replacement value. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:259
- ⧉protected label_singular -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- protected string -> string (12) "content item"
- protected arguments -> array (0)
- ⧉public __toString() Implements the magic __toString() method.
/** * Implements the magic __toString() method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:13
- ⧉public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = null) Constructs a new class instance.
/** * Constructs a new class instance. * * When possible, use the * \Drupal\Core\StringTranslation\StringTranslationTrait $this->t(). Otherwise * create a new \Drupal\Core\StringTranslation\TranslatableMarkup object * directly. * * Calling the trait's t() method or instantiating a new TranslatableMarkup * object serves two purposes: * - At run-time it translates user-visible text into the appropriate * language. * - Static analyzers detect calls to t() and new TranslatableMarkup, and add * the first argument (the string to be translated) to the database of * strings that need translation. These strings are expected to be in * English, so the first argument should always be in English. * To allow the site to be localized, it is important that all human-readable * text that will be displayed on the site or sent to a user is made available * in one of the ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. * See the @link https://www.drupal.org/node/322729 Localization API @endlink * pages for more information, including recommendations on how to break up or * not break up strings for translation. * * @section sec_translating_vars Translating Variables * $string should always be an English literal string. * * $string should never contain a variable, such as: * @code * new TranslatableMarkup($text) * @endcode * There are several reasons for this: * - Using a variable for $string that is user input is a security risk. * - Using a variable for $string that has even guaranteed safe text (for * example, user interface text provided literally in code), will not be * picked up by the localization static text processor. (The parameter could * be a variable if the entire string in $text has been passed into t() or * new TranslatableMarkup() elsewhere as the first argument, but that * strategy is not recommended.) * * It is especially important never to call new TranslatableMarkup($user_text) * or t($user_text) where $user_text is some text that a user entered -- doing * that can lead to cross-site scripting and other security problems. However, * you can use variable substitution in your string, to put variable text such * as user names or link URLs into translated text. Variable substitution * looks like this: * @code * new TranslatableMarkup("@name's blog", array('@name' => $account->getDisplayName())); * @endcode * Basically, you can put placeholders like @name into your string, and the * method will substitute the sanitized values at translation time. (See the * Localization API pages referenced above and the documentation of * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * for details about how to safely and correctly define variables in your * string.) Translators can then rearrange the string as necessary for the * language (e.g., in Spanish, it might be "blog de @name"). * * @param string $string * A string containing the English text to translate. * @param array $arguments * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * (optional) The string translation service. * * @throws \InvalidArgumentException * Exception thrown when $string is not a string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\StringTranslationTrait::t() * * @ingroup sanitization */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:129
- ⧉public getUntranslatedString(): string Gets the untranslated string value stored in this translated string.
/** * Gets the untranslated string value stored in this translated string. * * @return string * The string stored in this wrapper. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:145
- ⧉public getOption($name): mixed Gets a specific option from this translated string.
/** * Gets a specific option from this translated string. * * @param string $name * Option name. * * @return mixed * The value of this option or empty string of option is not set. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:158
- ⧉public getOptions(): mixed[] Gets all options from this translated string.
/** * Gets all options from this translated string. * * @return mixed[] * The array of options. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:168
- ⧉public getArguments(): mixed[] Gets all arguments from this translated string.
/** * Gets all arguments from this translated string. * * @return mixed[] * The array of arguments. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:178
- ⧉public render(): string Renders the object as a string.
/** * Renders the object as a string. * * @return string * The translated string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:188
- ⧉public __sleep() Magic __sleep() method to avoid serializing the string translator.
/** * Magic __sleep() method to avoid serializing the string translator. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:203
- ⧉public count(): int Returns the string length.
/** * Returns the string length. * * @return int * The length of the string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:227
- ⧉public jsonSerialize(): string Returns a representation of the object for use in JSON serialization.
/** * Returns a representation of the object for use in JSON serialization. * * @return string * The safe string content. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:118
- ⧉protected _die() For test purposes, wrap die() in an overridable method.
/** * For test purposes, wrap die() in an overridable method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:31
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:213
- ⧉protected static placeholderFormat($string, array $args): string Replaces placeholders in a string with values.
/** * Replaces placeholders in a string with values. * * @param string $string * A string containing placeholders. The string itself is expected to be * safe and correct HTML. Any unsafe content must be in $args and * inserted via placeholders. * @param array $args * An associative array of replacements. Each array key should be the same * as a placeholder in $string. The corresponding value should be a string * or an object that implements * \Drupal\Component\Render\MarkupInterface. The value replaces the * placeholder in $string. Sanitization and formatting will be done before * replacement. The type of sanitization and formatting depends on the first * character of the key: * - @variable: When the placeholder replacement value is: * - A string, the replaced value in the returned string will be sanitized * using \Drupal\Component\Utility\Html::escape(). * - A MarkupInterface object, the replaced value in the returned string * will not be sanitized. * - A MarkupInterface object cast to a string, the replaced value in the * returned string be forcibly sanitized using * \Drupal\Component\Utility\Html::escape(). * @code * $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object)); * @endcode * Use this placeholder as the default choice for anything displayed on * the site, but not within HTML attributes, JavaScript, or CSS. Doing so * is a security risk. * - %variable: Use when the replacement value is to be wrapped in <em> * tags. * A call like: * @code * $string = "%output_text"; * $arguments = ['%output_text' => 'text output here.']; * $this->placeholderFormat($string, $arguments); * @endcode * makes the following HTML code: * @code * <em class="placeholder">text output here.</em> * @endcode * As with @variable, do not use this within HTML attributes, JavaScript, * or CSS. Doing so is a security risk. * - :variable: Return value is escaped with * \Drupal\Component\Utility\Html::escape() and filtered for dangerous * protocols using UrlHelper::stripDangerousProtocols(). Use this when * using the "href" attribute, ensuring the attribute value is always * wrapped in quotes: * @code * // Secure (with quotes): * $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]); * // Insecure (without quotes): * $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]); * @endcode * When ":variable" comes from arbitrary user input, the result is secure, * but not guaranteed to be a valid URL (which means the resulting output * could fail HTML validation). To guarantee a valid URL, use * Url::fromUri($user_input)->toString() (which either throws an exception * or returns a well-formed URL) before passing the result into a * ":variable" placeholder. * * @return string * A formatted HTML string with the placeholders replaced. * * @ingroup sanitization * * @see \Drupal\Core\StringTranslation\TranslatableMarkup * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup * @see \Drupal\Component\Utility\Html::escape() * @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() * @see \Drupal\Core\Url::fromUri() */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:194
- ⧉protected static placeholderEscape($value): string Escapes a placeholder replacement value if needed.
/** * Escapes a placeholder replacement value if needed. * * @param string|\Drupal\Component\Render\MarkupInterface $value * A placeholder replacement value. * * @return string * The properly escaped replacement value. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:259
- ⧉protected label_plural -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- protected string -> string (13) "content items"
- protected arguments -> array (0)
- ⧉public __toString() Implements the magic __toString() method.
/** * Implements the magic __toString() method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:13
- ⧉public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = null) Constructs a new class instance.
/** * Constructs a new class instance. * * When possible, use the * \Drupal\Core\StringTranslation\StringTranslationTrait $this->t(). Otherwise * create a new \Drupal\Core\StringTranslation\TranslatableMarkup object * directly. * * Calling the trait's t() method or instantiating a new TranslatableMarkup * object serves two purposes: * - At run-time it translates user-visible text into the appropriate * language. * - Static analyzers detect calls to t() and new TranslatableMarkup, and add * the first argument (the string to be translated) to the database of * strings that need translation. These strings are expected to be in * English, so the first argument should always be in English. * To allow the site to be localized, it is important that all human-readable * text that will be displayed on the site or sent to a user is made available * in one of the ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. * See the @link https://www.drupal.org/node/322729 Localization API @endlink * pages for more information, including recommendations on how to break up or * not break up strings for translation. * * @section sec_translating_vars Translating Variables * $string should always be an English literal string. * * $string should never contain a variable, such as: * @code * new TranslatableMarkup($text) * @endcode * There are several reasons for this: * - Using a variable for $string that is user input is a security risk. * - Using a variable for $string that has even guaranteed safe text (for * example, user interface text provided literally in code), will not be * picked up by the localization static text processor. (The parameter could * be a variable if the entire string in $text has been passed into t() or * new TranslatableMarkup() elsewhere as the first argument, but that * strategy is not recommended.) * * It is especially important never to call new TranslatableMarkup($user_text) * or t($user_text) where $user_text is some text that a user entered -- doing * that can lead to cross-site scripting and other security problems. However, * you can use variable substitution in your string, to put variable text such * as user names or link URLs into translated text. Variable substitution * looks like this: * @code * new TranslatableMarkup("@name's blog", array('@name' => $account->getDisplayName())); * @endcode * Basically, you can put placeholders like @name into your string, and the * method will substitute the sanitized values at translation time. (See the * Localization API pages referenced above and the documentation of * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * for details about how to safely and correctly define variables in your * string.) Translators can then rearrange the string as necessary for the * language (e.g., in Spanish, it might be "blog de @name"). * * @param string $string * A string containing the English text to translate. * @param array $arguments * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * (optional) The string translation service. * * @throws \InvalidArgumentException * Exception thrown when $string is not a string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\StringTranslationTrait::t() * * @ingroup sanitization */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:129
- ⧉public getUntranslatedString(): string Gets the untranslated string value stored in this translated string.
/** * Gets the untranslated string value stored in this translated string. * * @return string * The string stored in this wrapper. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:145
- ⧉public getOption($name): mixed Gets a specific option from this translated string.
/** * Gets a specific option from this translated string. * * @param string $name * Option name. * * @return mixed * The value of this option or empty string of option is not set. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:158
- ⧉public getOptions(): mixed[] Gets all options from this translated string.
/** * Gets all options from this translated string. * * @return mixed[] * The array of options. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:168
- ⧉public getArguments(): mixed[] Gets all arguments from this translated string.
/** * Gets all arguments from this translated string. * * @return mixed[] * The array of arguments. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:178
- ⧉public render(): string Renders the object as a string.
/** * Renders the object as a string. * * @return string * The translated string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:188
- ⧉public __sleep() Magic __sleep() method to avoid serializing the string translator.
/** * Magic __sleep() method to avoid serializing the string translator. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:203
- ⧉public count(): int Returns the string length.
/** * Returns the string length. * * @return int * The length of the string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:227
- ⧉public jsonSerialize(): string Returns a representation of the object for use in JSON serialization.
/** * Returns a representation of the object for use in JSON serialization. * * @return string * The safe string content. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:118
- ⧉protected _die() For test purposes, wrap die() in an overridable method.
/** * For test purposes, wrap die() in an overridable method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:31
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:213
- ⧉protected static placeholderFormat($string, array $args): string Replaces placeholders in a string with values.
/** * Replaces placeholders in a string with values. * * @param string $string * A string containing placeholders. The string itself is expected to be * safe and correct HTML. Any unsafe content must be in $args and * inserted via placeholders. * @param array $args * An associative array of replacements. Each array key should be the same * as a placeholder in $string. The corresponding value should be a string * or an object that implements * \Drupal\Component\Render\MarkupInterface. The value replaces the * placeholder in $string. Sanitization and formatting will be done before * replacement. The type of sanitization and formatting depends on the first * character of the key: * - @variable: When the placeholder replacement value is: * - A string, the replaced value in the returned string will be sanitized * using \Drupal\Component\Utility\Html::escape(). * - A MarkupInterface object, the replaced value in the returned string * will not be sanitized. * - A MarkupInterface object cast to a string, the replaced value in the * returned string be forcibly sanitized using * \Drupal\Component\Utility\Html::escape(). * @code * $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object)); * @endcode * Use this placeholder as the default choice for anything displayed on * the site, but not within HTML attributes, JavaScript, or CSS. Doing so * is a security risk. * - %variable: Use when the replacement value is to be wrapped in <em> * tags. * A call like: * @code * $string = "%output_text"; * $arguments = ['%output_text' => 'text output here.']; * $this->placeholderFormat($string, $arguments); * @endcode * makes the following HTML code: * @code * <em class="placeholder">text output here.</em> * @endcode * As with @variable, do not use this within HTML attributes, JavaScript, * or CSS. Doing so is a security risk. * - :variable: Return value is escaped with * \Drupal\Component\Utility\Html::escape() and filtered for dangerous * protocols using UrlHelper::stripDangerousProtocols(). Use this when * using the "href" attribute, ensuring the attribute value is always * wrapped in quotes: * @code * // Secure (with quotes): * $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]); * // Insecure (without quotes): * $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]); * @endcode * When ":variable" comes from arbitrary user input, the result is secure, * but not guaranteed to be a valid URL (which means the resulting output * could fail HTML validation). To guarantee a valid URL, use * Url::fromUri($user_input)->toString() (which either throws an exception * or returns a well-formed URL) before passing the result into a * ":variable" placeholder. * * @return string * A formatted HTML string with the placeholders replaced. * * @ingroup sanitization * * @see \Drupal\Core\StringTranslation\TranslatableMarkup * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup * @see \Drupal\Component\Utility\Html::escape() * @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() * @see \Drupal\Core\Url::fromUri() */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:194
- ⧉protected static placeholderEscape($value): string Escapes a placeholder replacement value if needed.
/** * Escapes a placeholder replacement value if needed. * * @param string|\Drupal\Component\Render\MarkupInterface $value * A placeholder replacement value. * * @return string * The properly escaped replacement value. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:259
- ⧉protected label_count -> array (3)
- singular => string (19) "@count content item"
- plural => string (20) "@count content items"
- context => null
- protected uri_callback -> null
- protected group -> string (7) "content"
- ⧉protected group_label -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected translatedMarkup -> null
- ⧉protected options -> array (1) Depth Limit
- protected stringTranslation -> null
- protected string -> string (7) "Content"
- protected arguments -> array (0)
- ⧉public __toString() Implements the magic __toString() method.
/** * Implements the magic __toString() method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:13
- ⧉public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = null) Constructs a new class instance.
/** * Constructs a new class instance. * * When possible, use the * \Drupal\Core\StringTranslation\StringTranslationTrait $this->t(). Otherwise * create a new \Drupal\Core\StringTranslation\TranslatableMarkup object * directly. * * Calling the trait's t() method or instantiating a new TranslatableMarkup * object serves two purposes: * - At run-time it translates user-visible text into the appropriate * language. * - Static analyzers detect calls to t() and new TranslatableMarkup, and add * the first argument (the string to be translated) to the database of * strings that need translation. These strings are expected to be in * English, so the first argument should always be in English. * To allow the site to be localized, it is important that all human-readable * text that will be displayed on the site or sent to a user is made available * in one of the ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. * See the @link https://www.drupal.org/node/322729 Localization API @endlink * pages for more information, including recommendations on how to break up or * not break up strings for translation. * * @section sec_translating_vars Translating Variables * $string should always be an English literal string. * * $string should never contain a variable, such as: * @code * new TranslatableMarkup($text) * @endcode * There are several reasons for this: * - Using a variable for $string that is user input is a security risk. * - Using a variable for $string that has even guaranteed safe text (for * example, user interface text provided literally in code), will not be * picked up by the localization static text processor. (The parameter could * be a variable if the entire string in $text has been passed into t() or * new TranslatableMarkup() elsewhere as the first argument, but that * strategy is not recommended.) * * It is especially important never to call new TranslatableMarkup($user_text) * or t($user_text) where $user_text is some text that a user entered -- doing * that can lead to cross-site scripting and other security problems. However, * you can use variable substitution in your string, to put variable text such * as user names or link URLs into translated text. Variable substitution * looks like this: * @code * new TranslatableMarkup("@name's blog", array('@name' => $account->getDisplayName())); * @endcode * Basically, you can put placeholders like @name into your string, and the * method will substitute the sanitized values at translation time. (See the * Localization API pages referenced above and the documentation of * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * for details about how to safely and correctly define variables in your * string.) Translators can then rearrange the string as necessary for the * language (e.g., in Spanish, it might be "blog de @name"). * * @param string $string * A string containing the English text to translate. * @param array $arguments * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * (optional) The string translation service. * * @throws \InvalidArgumentException * Exception thrown when $string is not a string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\StringTranslationTrait::t() * * @ingroup sanitization */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:129
- ⧉public getUntranslatedString(): string Gets the untranslated string value stored in this translated string.
/** * Gets the untranslated string value stored in this translated string. * * @return string * The string stored in this wrapper. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:145
- ⧉public getOption($name): mixed Gets a specific option from this translated string.
/** * Gets a specific option from this translated string. * * @param string $name * Option name. * * @return mixed * The value of this option or empty string of option is not set. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:158
- ⧉public getOptions(): mixed[] Gets all options from this translated string.
/** * Gets all options from this translated string. * * @return mixed[] * The array of options. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:168
- ⧉public getArguments(): mixed[] Gets all arguments from this translated string.
/** * Gets all arguments from this translated string. * * @return mixed[] * The array of arguments. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:178
- ⧉public render(): string Renders the object as a string.
/** * Renders the object as a string. * * @return string * The translated string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:188
- ⧉public __sleep() Magic __sleep() method to avoid serializing the string translator.
/** * Magic __sleep() method to avoid serializing the string translator. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:203
- ⧉public count(): int Returns the string length.
/** * Returns the string length. * * @return int * The length of the string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:227
- ⧉public jsonSerialize(): string Returns a representation of the object for use in JSON serialization.
/** * Returns a representation of the object for use in JSON serialization. * * @return string * The safe string content. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:118
- ⧉protected _die() For test purposes, wrap die() in an overridable method.
/** * For test purposes, wrap die() in an overridable method. */ Defined in <ROOT>/core/lib/Drupal/Component/Utility/ToStringTrait.php:31
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:213
- ⧉protected static placeholderFormat($string, array $args): string Replaces placeholders in a string with values.
/** * Replaces placeholders in a string with values. * * @param string $string * A string containing placeholders. The string itself is expected to be * safe and correct HTML. Any unsafe content must be in $args and * inserted via placeholders. * @param array $args * An associative array of replacements. Each array key should be the same * as a placeholder in $string. The corresponding value should be a string * or an object that implements * \Drupal\Component\Render\MarkupInterface. The value replaces the * placeholder in $string. Sanitization and formatting will be done before * replacement. The type of sanitization and formatting depends on the first * character of the key: * - @variable: When the placeholder replacement value is: * - A string, the replaced value in the returned string will be sanitized * using \Drupal\Component\Utility\Html::escape(). * - A MarkupInterface object, the replaced value in the returned string * will not be sanitized. * - A MarkupInterface object cast to a string, the replaced value in the * returned string be forcibly sanitized using * \Drupal\Component\Utility\Html::escape(). * @code * $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object)); * @endcode * Use this placeholder as the default choice for anything displayed on * the site, but not within HTML attributes, JavaScript, or CSS. Doing so * is a security risk. * - %variable: Use when the replacement value is to be wrapped in <em> * tags. * A call like: * @code * $string = "%output_text"; * $arguments = ['%output_text' => 'text output here.']; * $this->placeholderFormat($string, $arguments); * @endcode * makes the following HTML code: * @code * <em class="placeholder">text output here.</em> * @endcode * As with @variable, do not use this within HTML attributes, JavaScript, * or CSS. Doing so is a security risk. * - :variable: Return value is escaped with * \Drupal\Component\Utility\Html::escape() and filtered for dangerous * protocols using UrlHelper::stripDangerousProtocols(). Use this when * using the "href" attribute, ensuring the attribute value is always * wrapped in quotes: * @code * // Secure (with quotes): * $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]); * // Insecure (without quotes): * $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]); * @endcode * When ":variable" comes from arbitrary user input, the result is secure, * but not guaranteed to be a valid URL (which means the resulting output * could fail HTML validation). To guarantee a valid URL, use * Url::fromUri($user_input)->toString() (which either throws an exception * or returns a well-formed URL) before passing the result into a * ":variable" placeholder. * * @return string * A formatted HTML string with the placeholders replaced. * * @ingroup sanitization * * @see \Drupal\Core\StringTranslation\TranslatableMarkup * @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup * @see \Drupal\Component\Utility\Html::escape() * @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols() * @see \Drupal\Core\Url::fromUri() */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:194
- ⧉protected static placeholderEscape($value): string Escapes a placeholder replacement value if needed.
/** * Escapes a placeholder replacement value if needed. * * @param string|\Drupal\Component\Render\MarkupInterface $value * A placeholder replacement value. * * @return string * The properly escaped replacement value. */ Inherited from Drupal\Component\Render\FormattableMarkup Defined in <ROOT>/core/lib/Drupal/Component/Render/FormattableMarkup.php:259
- protected field_ui_base_route -> string (26) "entity.node_type.edit_form"
- protected common_reference_target -> boolean true
- ⧉protected list_cache_contexts -> array (1)
- 0 => string (21) "user.node_grants:view"
- ⧉protected list_cache_tags -> array (1)
- 0 => string (9) "node_list"
- ⧉protected constraints -> array (4)
- EntityChanged => null
- EntityUntranslatableFields => null
- MenuSettings => array (0)
- ContentTranslationSynchronizedFields => null
- ⧉protected additional -> array (3)
- token_type => string (4) "node"
- content_translation_metadata => string (60) "Drupal\content_translation\ContentTranslationMetadataWrapper"
- ⧉translation => array (1) Depth Limit
- protected class -> string (30) "Drupal\social_node\Entity\Node"
- protected provider -> string (4) "node"
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- protected stringTranslation -> null
- ⧉public __construct($definition) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityType.php:20
- ⧉public getConfigDependencyKey() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityType.php:36
- ⧉public getRevisionMetadataKeys() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityType.php:59
- ⧉public getRevisionMetadataKey($key) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityType.php:66
- ⧉public hasRevisionMetadataKey($key) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityType.php:74
- ⧉public setRevisionMetadataKey($key, $field_name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityType.php:82
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:32
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:67
- ⧉public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation): $this Sets the string translation service to use.
/** * Sets the string translation service to use. * * @param \Drupal\Core\StringTranslation\TranslationInterface $translation * The string translation service. * * @return $this */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
- ⧉public get($property) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:333
- ⧉public set($property, $value) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:346
- ⧉public isInternal() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:359
- ⧉public isStaticallyCacheable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:366
- ⧉public isRenderCacheable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:373
- ⧉public isPersistentlyCacheable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:380
- ⧉public getKeys() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:387
- ⧉public getKey($key) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:394
- ⧉public hasKey($key) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:402
- ⧉public getOriginalClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:410
- ⧉public setClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:417
- ⧉public entityClassImplements($interface) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:430
- ⧉public isSubclassOf($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:437
- ⧉public getHandlerClasses() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:445
- ⧉public getHandlerClass($handler_type, $nested = false) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:452
- ⧉public setHandlerClass($handler_type, $value) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:463
- ⧉public hasHandlerClass($handler_type, $nested = false) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:471
- ⧉public getStorageClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:486
- ⧉public setStorageClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:493
- ⧉public getFormClass($operation) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:512
- ⧉public setFormClass($operation, $class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:519
- ⧉public hasFormClasses() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:527
- ⧉public hasRouteProviders() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:534
- ⧉public getListBuilderClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:541
- ⧉public setListBuilderClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:548
- ⧉public hasListBuilderClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:556
- ⧉public getViewBuilderClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:563
- ⧉public setViewBuilderClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:570
- ⧉public hasViewBuilderClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:578
- ⧉public getRouteProviderClasses() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:585
- ⧉public getAccessControlClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:592
- ⧉public setAccessClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:599
- ⧉public getAdminPermission() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:607
- ⧉public getPermissionGranularity() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:614
- ⧉public getLinkTemplates() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:621
- ⧉public getLinkTemplate($key) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:628
- ⧉public hasLinkTemplate($key) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:636
- ⧉public setLinkTemplate($key, $path) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:644
- ⧉public getBundleEntityType() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:656
- ⧉public getBundleOf() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:663
- ⧉public getBundleLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:670
- ⧉public getBaseTable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:685
- ⧉public showRevisionUi() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:692
- ⧉public isTranslatable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:699
- ⧉public isRevisionable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:706
- ⧉public getRevisionDataTable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:714
- ⧉public getRevisionTable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:721
- ⧉public getDataTable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:728
- ⧉public getLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:735
- ⧉public getCollectionLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:742
- ⧉public getSingularLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:753
- ⧉public getPluralLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:764
- ⧉public getCountLabel($count) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:775
- ⧉public getUriCallback() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:789
- ⧉public setUriCallback($callback) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:796
- ⧉public getGroup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:804
- ⧉public getGroupLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:811
- ⧉public getListCacheContexts() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:818
- ⧉public getListCacheTags() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:825
- ⧉public isCommonReferenceTarget() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:842
- ⧉public getConstraints() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:849
- ⧉public setConstraints(array $constraints) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:856
- ⧉public addConstraint($constraint_name, $options = null) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:864
- ⧉public getBundleConfigDependency($bundle) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:872
- ⧉public id() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\Definition\PluginDefinition Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php:34
- ⧉public getClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\Definition\PluginDefinition Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php:49
- ⧉public getProvider() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\Definition\PluginDefinition Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php:56
- ⧉protected checkStorageClass($class) {@inheritdoc}
/** * {@inheritdoc} * * @throws \InvalidArgumentException * If the provided class does not implement * \Drupal\Core\Entity\ContentEntityStorageInterface. * * @see \Drupal\Core\Entity\ContentEntityStorageInterface */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityType.php:49
- ⧉protected t($string, array $args = array(), array $options = array()): \Drupal\Core\StringTranslation\TranslatableMarkup Translates a string to the current language or to a given language.
/** * Translates a string to the current language or to a given language. * * See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for * important security information and usage guidelines. * * In order for strings to be localized, make them available in one of the * ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. When * possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait * $this->t(). Otherwise create a new * \Drupal\Core\StringTranslation\TranslatableMarkup object. * * @param string $string * A string containing the English text to translate. * @param array $args * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. See the * @link i18n Internationalization topic @endlink for more information * about string contexts. * * @return \Drupal\Core\StringTranslation\TranslatableMarkup * An object that, when cast to a string, returns the translated string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() * * @ingroup sanitization */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
- ⧉protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array()) Formats a string containing a count of items.
/** * Formats a string containing a count of items. * * @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural() */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
- ⧉protected getNumberOfPlurals($langcode = null) Returns the number of plurals supported by a given language.
/** * Returns the number of plurals supported by a given language. * * @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals() */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
- ⇄const ID_MAX_LENGTH :: integer 32\Drupal\Core\Entity\ContentEntityType::ID_MAX_LENGTH
- ⇄const BUNDLE_MAX_LENGTH :: integer 32\Drupal\Core\Entity\ContentEntityType::BUNDLE_MAX_LENGTH
- ⇄const ID_MAX_LENGTH :: integer 32
- ⧉protected entityRepository -> Drupal\Core\Entity\EntityRepository (4)
- Properties (4)
- Available methods (11)
- Static class properties
- ⧉protected entityTypeManager -> Drupal\Core\Entity\EntityTypeManager (22)
- Properties (22)
- Available methods (37)
- ⧉protected handlers -> array (2) Depth Limit
- ⧉protected stringTranslation -> Drupal\Core\StringTranslation\TranslationManager (4) Depth Limit
- ⧉protected classResolver -> Drupal\Core\DependencyInjection\ClassResolver (4) Depth Limit
- ⧉protected entityLastInstalledSchemaRepository -> Drupal\Core\Entity\EntityLastInstalledSchemaRepository (4) Depth Limit
- protected cacheKey -> string (11) "entity_type"
- ⧉protected cacheTags -> array (1) Depth Limit
- protected alterHook -> string (11) "entity_type"
- protected subdir -> string (6) "Entity"
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12) Depth Limit
- protected defaults -> array (0)
- protected pluginDefinitionAnnotationName -> string (34) "Drupal\Component\Annotation\Plugin"
- protected pluginInterface -> string (34) "Drupal\Core\Entity\EntityInterface"
- ⧉protected namespaces -> ArrayObject (1) Depth Limit
- protected additionalAnnotationNamespaces -> array (0)
- ⧉protected discovery -> Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery (8) Depth Limit
- protected factory -> null
- protected mapper -> null
- ⧉protected definitions -> array (68) Depth Limit
- ⧉protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend (5) Depth Limit
- protected useCaches -> boolean true
- ⧉protected container -> Drupal\Core\DependencyInjection\Container Blacklisted
- public _serviceId -> string (19) "entity_type.manager"
- ⧉public setContainer(Symfony\Component\DependencyInjection\ContainerInterface $container = null)
Defined in .../symfony/dependency-injection/ContainerAwareTrait.php:26
- ⧉public __construct(Traversable $namespaces, Drupal\Core\Extension\ModuleHandlerInterface $module_handler, Drupal\Core\Cache\CacheBackendInterface $cache, Drupal\Core\StringTranslation\TranslationInterface $string_translation, Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver, Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository) Constructs a new Entity plugin manager.
/** * Constructs a new Entity plugin manager. * * @param \Traversable $namespaces * An object that implements \Traversable which contains the root paths * keyed by the corresponding namespace to look for plugin implementations, * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. * @param \Drupal\Core\Cache\CacheBackendInterface $cache * The cache backend to use. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * The string translation. * @param \Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver * The class resolver. * @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository * The entity last installed schema repository. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:85
- ⧉public processDefinition(&$definition, $plugin_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:100
- ⧉public getDefinition($entity_type_id, $exception_on_invalid = true) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:135
- ⧉public getActiveDefinition($entity_type_id): \Drupal\Core\Entity\EntityTypeInterface Gets the active definition for a content entity type.
/** * Gets the active definition for a content entity type. * * @param string $entity_type_id * The entity type ID. * * @return \Drupal\Core\Entity\EntityTypeInterface * The active entity type definition. * * @internal */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:157
- ⧉public clearCachedDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:165
- ⧉public useCaches($use_caches = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:173
- ⧉public hasHandler($entity_type_id, $handler_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:184
- ⧉public getStorage($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:195
- ⧉public getListBuilder($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:202
- ⧉public getFormObject($entity_type_id, $operation) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:209
- ⧉public getRouteProviders($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:226
- ⧉public getViewBuilder($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:241
- ⧉public getAccessControlHandler($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:248
- ⧉public getHandler($entity_type_id, $handler_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:255
- ⧉public createHandlerInstance($class, Drupal\Core\Entity\EntityTypeInterface $definition = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:271
- ⧉public hasDefinition($plugin_id) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:59
- ⧉public setCacheBackend(Drupal\Core\Cache\CacheBackendInterface $cache_backend, $cache_key, array $cache_tags = array()) Initialize the cache backend.
/** * Initialize the cache backend. * * Plugin definitions are cached using the provided cache backend. * * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend * Cache backend instance to use. * @param string $cache_key * Cache key prefix to use. * @param array $cache_tags * (optional) When providing a list of cache tags, the cached plugin * definitions are tagged with the provided cache tags. These cache tags can * then be used to clear the corresponding cached plugin definitions. Note * that this should be used with care! For clearing all cached plugin * definitions of a plugin manager, call that plugin manager's * clearCachedDefinitions() method. Only use cache tags when cached plugin * definitions should be cleared along with other, related cache entries. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:151
- ⧉public getDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:172
- ⧉public getCacheContexts() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:350
- ⧉public getCacheTags() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:357
- ⧉public getCacheMaxAge() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:364
- ⧉public createInstance($plugin_id, array $configuration = array()) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\PluginManagerBase Defined in <ROOT>/core/lib/Drupal/Component/Plugin/PluginManagerBase.php:71
- ⧉public getInstance(array $options) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\PluginManagerBase Defined in <ROOT>/core/lib/Drupal/Component/Plugin/PluginManagerBase.php:106
- ⧉protected findDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:115
- ⧉protected cacheGet($cid): object|false Fetches from the cache backend, respecting the use caches flag.
/** * Fetches from the cache backend, respecting the use caches flag. * * @param string $cid * The cache ID of the data to retrieve. * * @return object|false * The cache item or FALSE on failure. * * @see \Drupal\Core\Cache\CacheBackendInterface::get() */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php:35
- ⧉protected doGetDefinition(array $definitions, $plugin_id, $exception_on_invalid): array|null Gets a specific plugin definition.
/** * Gets a specific plugin definition. * * @param array $definitions * An array of the available plugin definitions. * @param string $plugin_id * A plugin id. * @param bool $exception_on_invalid * If TRUE, an invalid plugin ID will cause an exception to be thrown; if * FALSE, NULL will be returned. * * @return array|null * A plugin definition, or NULL if the plugin ID is invalid and * $exception_on_invalid is TRUE. * * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException * Thrown if $plugin_id is invalid and $exception_on_invalid is TRUE. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:43
- ⧉protected cacheSet($cid, $data, $expire = -1, array $tags = array()) Stores data in the persistent cache, respecting the use caches flag.
/** * Stores data in the persistent cache, respecting the use caches flag. * * @param string $cid * The cache ID of the data to store. * @param mixed $data * The data to store in the cache. * Some storage engines only allow objects up to a maximum of 1MB in size to * be stored by default. When caching large arrays or similar, take care to * ensure $data does not exceed this size. * @param int $expire * One of the following values: * - CacheBackendInterface::CACHE_PERMANENT: Indicates that the item should * not be removed unless it is deleted explicitly. * - A Unix timestamp: Indicates that the item will be considered invalid * after this time, i.e. it will not be returned by get() unless * $allow_invalid has been set to TRUE. When the item has expired, it may * be permanently deleted by the garbage collector at any time. * @param array $tags * An array of tags to be stored with the cache item. These should normally * identify objects used to build the cache item, which should trigger * cache invalidation when updated. For example if a cached item represents * a node, both the node ID and the author's user ID might be passed in as * tags. For example array('node' => array(123), 'user' => array(92)). * * @see \Drupal\Core\Cache\CacheBackendInterface::set() */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php:69
- ⧉protected alterInfo($alter_hook) Sets the alter hook name.
/** * Sets the alter hook name. * * @param string $alter_hook * Name of the alter hook; for example, to invoke * hook_mymodule_data_alter() pass in "mymodule_data". */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:165
- ⧉protected getCachedDefinitions(): array|null Returns the cached plugin definitions of the decorated discovery class.
/** * Returns the cached plugin definitions of the decorated discovery class. * * @return array|null * On success this will return an array of plugin definitions. On failure * this should return NULL, indicating to other methods that this has not * yet been defined. Success with no values should return as an empty array * and would actually be returned by the getDefinitions() method. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:206
- ⧉protected setCachedDefinitions($definitions) Sets a cache of plugin definitions for the decorated discovery class.
/** * Sets a cache of plugin definitions for the decorated discovery class. * * @param array $definitions * List of definitions to store in cache. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:219
- ⧉protected getDiscovery() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:259
- ⧉protected getFactory() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:270
- ⧉protected extractProviderFromDefinition($plugin_definition): string|null Extracts the provider from a plugin definition.
/** * Extracts the provider from a plugin definition. * * @param mixed $plugin_definition * The plugin definition. Usually either an array or an instance of * \Drupal\Component\Plugin\Definition\PluginDefinitionInterface * * @return string|null * The provider string, if it exists. NULL otherwise. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:310
- ⧉protected alterDefinitions(&$definitions) Invokes the hook to alter the definitions if the alter hook is set.
/** * Invokes the hook to alter the definitions if the alter hook is set. * * @param $definitions * The discovered plugin definitions. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:331
- ⧉protected providerExists($provider): bool Determines if the provider of a definition exists.
/** * Determines if the provider of a definition exists. * * @return bool * TRUE if provider exists, FALSE otherwise. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:343
- ⧉protected handlePluginNotFound($plugin_id, array $configuration): object Allows plugin managers to specify custom behavior if a plugin is not found.
/** * Allows plugin managers to specify custom behavior if a plugin is not found. * * @param string $plugin_id * The ID of the missing requested plugin. * @param array $configuration * An array of configuration relevant to the plugin instance. * * @return object * A fallback plugin instance. */ Inherited from Drupal\Component\Plugin\PluginManagerBase Defined in <ROOT>/core/lib/Drupal/Component/Plugin/PluginManagerBase.php:98
- ⧉protected languageManager -> Drupal\language\ConfigurableLanguageManager (17)
- Properties (17)
- Available methods (34)
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (6) Depth Limit
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12) Depth Limit
- ⧉protected configFactoryOverride -> Drupal\language\Config\LanguageConfigFactoryOverride (6) Depth Limit
- ⧉protected requestStack -> Symfony\Component\HttpFoundation\RequestStack (2) Depth Limit
- protected negotiator -> null
- ⧉protected languageTypes -> array (5) Depth Limit
- ⧉protected languageTypesInfo -> array (3) Depth Limit
- ⧉protected negotiatedLanguages -> array (2) Depth Limit
- protected negotiatedMethods -> null
- protected initialized -> boolean false
- protected initializing -> array (0)
- ⧉protected languages -> array (1) Depth Limit
- ⧉protected defaultLanguage -> Drupal\Core\Language\LanguageDefault (2) Depth Limit
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- public _serviceId -> string (16) "language_manager"
- ⧉public definedLanguageTypesInfo -> array (3) Depth Limit
- ⧉public __construct(Drupal\Core\Language\LanguageDefault $default_language, Drupal\Core\Config\ConfigFactoryInterface $config_factory, Drupal\Core\Extension\ModuleHandlerInterface $module_handler, Drupal\language\Config\LanguageConfigFactoryOverrideInterface $config_override, Symfony\Component\HttpFoundation\RequestStack $request_stack) Constructs a new ConfigurableLanguageManager object.
/** * Constructs a new ConfigurableLanguageManager object. * * @param \Drupal\Core\Language\LanguageDefault $default_language * The default language service. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The configuration factory service. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler service. * @param \Drupal\language\Config\LanguageConfigFactoryOverrideInterface $config_override * The language configuration override service. * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack * The request stack object. */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:120
- ⧉public init() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:131
- ⧉public isMultilingual() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:143
- ⧉public getLanguageTypes() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:150
- ⧉public getDefinedLanguageTypes() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:158
- ⧉public getDefinedLanguageTypesInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:179
- ⧉public saveLanguageTypesConfiguration(array $values) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:196
- ⧉public getCurrentLanguage($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:210
- ⧉public reset($type = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:241
- ⧉public getNegotiator() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:263
- ⧉public setNegotiator(Drupal\language\LanguageNegotiatorInterface $negotiator) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:270
- ⧉public getLanguages($flags = 1) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:279
- ⧉public getNativeLanguages() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:326
- ⧉public updateLockedLanguageWeights() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:344
- ⧉public getFallbackCandidates(array $context = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:366
- ⧉public getLanguageSwitchLinks($type, Drupal\Core\Url $url) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:405
- ⧉public setConfigOverrideLanguage(Drupal\Core\Language\LanguageInterface $language = null): $this Sets the configuration override language.
/** * Sets the configuration override language. * * @param \Drupal\Core\Language\LanguageInterface $language * The language to override configuration with. * * @return $this */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:436
- ⧉public getConfigOverrideLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:444
- ⧉public getLanguageConfigOverride($langcode, $name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:451
- ⧉public getLanguageConfigOverrideStorage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:458
- ⧉public getStandardLanguageListWithoutConfigured() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:465
- ⧉public getNegotiatedLanguageMethod($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:482
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:32
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:67
- ⧉public getDefaultLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:116
- ⧉public getLanguage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:150
- ⧉public getLanguageName($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:158
- ⧉public getDefaultLockedLanguages($weight0) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:174
- ⧉public isLanguageLocked($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:202
- ⧉protected loadLanguageTypesConfiguration(): array Retrieves language types from the configuration storage.
/** * Retrieves language types from the configuration storage. * * @return array * An array of language type names. */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:169
- ⧉protected filterLanguages(array $languages, $flags = 1): \Drupal\Core\Language\LanguageInterface[] Filters the full list of languages based on the value of the flag.
/** * Filters the full list of languages based on the value of the flag. * * The locked languages are removed by default. * * @param \Drupal\Core\Language\LanguageInterface[] $languages * Array with languages to be filtered. * @param int $flags * (optional) Specifies the state of the languages that have to be returned. * It can be: LanguageInterface::STATE_CONFIGURABLE, * LanguageInterface::STATE_LOCKED, or LanguageInterface::STATE_ALL. * * @return \Drupal\Core\Language\LanguageInterface[] * An associative array of languages, keyed by the language code. */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:397
- ⇄⧉public static rebuildServices() {@inheritdoc}\Drupal\language\ConfigurableLanguageManager::rebuildServices()
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:102
- ⇄⧉public static getStandardLanguageList() {@inheritdoc}\Drupal\Core\Language\LanguageManager::getStandardLanguageList()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:224
- ⇄⧉public static getUnitedNationsLanguageList(): array The 6 official languages used at the United Nations.\Drupal\Core\Language\LanguageManager::getUnitedNationsLanguageList()
/** * The 6 official languages used at the United Nations. * * This list is based on * http://www.un.org/en/sections/about-un/official-languages/index.html and it * uses the same format as getStandardLanguageList(). * * @return array * An array with language codes as keys, and English and native language * names as values. */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:344
- ⧉protected contextRepository -> Drupal\Core\Plugin\Context\LazyContextRepository (4)
- Properties (4)
- Available methods (3)
- ⧉protected contextProviderServiceIDs -> array (6) Depth Limit
- ⧉protected container -> Drupal\Core\DependencyInjection\Container Blacklisted
- protected contexts -> array (0)
- public _serviceId -> string (18) "context.repository"
- ⧉public __construct(Symfony\Component\DependencyInjection\ContainerInterface $container, array $context_provider_service_ids) Constructs a LazyContextRepository object.
/** * Constructs a LazyContextRepository object. * * @param \Symfony\Component\DependencyInjection\ContainerInterface $container * The current service container. * @param string[] $context_provider_service_ids * The set of the available context provider service IDs. */ Defined in <ROOT>/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php:42
- ⧉public getRuntimeContexts(array $context_ids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php:50
- ⧉public getAvailableContexts() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Plugin/Context/LazyContextRepository.php:94
- public _serviceId -> string (17) "entity.repository"
- ⧉public __construct(Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager, Drupal\Core\Language\LanguageManagerInterface $language_manager, Drupal\Core\Plugin\Context\ContextRepositoryInterface $context_repository) Constructs a new EntityRepository.
/** * Constructs a new EntityRepository. * * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager * The entity type manager. * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager * The language manager. * @param \Drupal\Core\Plugin\Context\ContextRepositoryInterface $context_repository * The context repository service. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:47
- ⧉public loadEntityByUuid($entity_type_id, $uuid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:56
- ⧉public loadEntityByConfigTarget($entity_type_id, $target) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:71
- ⧉public getTranslationFromContext(Drupal\Core\Entity\EntityInterface $entity, $langcode = null, $context = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:93
- ⧉public getActive($entity_type_id, $entity_id, array $contexts = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:129
- ⧉public getActiveMultiple($entity_type_id, array $entity_ids, array $contexts = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:136
- ⧉public getCanonical($entity_type_id, $entity_id, array $contexts = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:173
- ⧉public getCanonicalMultiple($entity_type_id, array $entity_ids, array $contexts = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:180
- ⧉protected getContentLanguageFromContexts(array $contexts): string|null Retrieves the current content language from the specified contexts.
/** * Retrieves the current content language from the specified contexts. * * @param \Drupal\Core\Plugin\Context\ContextInterface[] $contexts * An array of context items. * * @return string|null * A language code or NULL if no language context was provided. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:218
- ⧉protected getLatestTranslationAffectedRevision(Drupal\Core\Entity\RevisionableInterface $entity, $langcode): \Drupal\Core\Entity\RevisionableInterface Returns the latest revision translation of the specified entity.
/** * Returns the latest revision translation of the specified entity. * * @param \Drupal\Core\Entity\RevisionableInterface $entity * The default revision of the entity being converted. * @param string $langcode * The language of the revision translation to be loaded. * * @return \Drupal\Core\Entity\RevisionableInterface * The latest translation-affecting revision for the specified entity, or * just the latest revision, if the specified entity is not translatable or * does not have a matching translation yet. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:243
- ⧉protected loadRevision(Drupal\Core\Entity\RevisionableInterface $entity, $revision_id): \Drupal\Core\Entity\RevisionableInterface Loads the specified entity revision.
/** * Loads the specified entity revision. * * @param \Drupal\Core\Entity\RevisionableInterface $entity * The default revision of the entity being converted. * @param string $revision_id * The identifier of the revision to be loaded. * * @return \Drupal\Core\Entity\RevisionableInterface * An entity revision object. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityRepository.php:289
- ⇄const CONTEXT_ID_LEGACY_CONTEXT_OPERATION :: string (43) "@entity.repository:legacy_context_operation"\Drupal\Core\Entity\EntityRepository::CONTEXT_ID_LEGACY_CONTEXT_OPERATION
- ⇄const CONTEXT_ID_LEGACY_CONTEXT_OPERATION :: string (43) "@entity.repository:legacy_context_operation"
- ⧉protected entityDisplayRepository -> Drupal\Core\Entity\EntityDisplayRepository (8)
- Properties (8)
- Available methods (23)
- Static class properties
- ⧉protected displayModeInfo -> array (1)
- ⧉view_mode => array (19) Depth Limit
- ⧉protected languageManager -> Drupal\language\ConfigurableLanguageManager (17)
- Properties (17)
- Available methods (34)
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (6) Depth Limit
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12) Depth Limit
- ⧉protected configFactoryOverride -> Drupal\language\Config\LanguageConfigFactoryOverride (6) Depth Limit
- ⧉protected requestStack -> Symfony\Component\HttpFoundation\RequestStack (2) Depth Limit
- protected negotiator -> null
- ⧉protected languageTypes -> array (5) Depth Limit
- ⧉protected languageTypesInfo -> array (3) Depth Limit
- ⧉protected negotiatedLanguages -> array (2) Depth Limit
- protected negotiatedMethods -> null
- protected initialized -> boolean false
- protected initializing -> array (0)
- ⧉protected languages -> array (1) Depth Limit
- ⧉protected defaultLanguage -> Drupal\Core\Language\LanguageDefault (2) Depth Limit
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- public _serviceId -> string (16) "language_manager"
- ⧉public definedLanguageTypesInfo -> array (3) Depth Limit
- ⧉public __construct(Drupal\Core\Language\LanguageDefault $default_language, Drupal\Core\Config\ConfigFactoryInterface $config_factory, Drupal\Core\Extension\ModuleHandlerInterface $module_handler, Drupal\language\Config\LanguageConfigFactoryOverrideInterface $config_override, Symfony\Component\HttpFoundation\RequestStack $request_stack) Constructs a new ConfigurableLanguageManager object.
/** * Constructs a new ConfigurableLanguageManager object. * * @param \Drupal\Core\Language\LanguageDefault $default_language * The default language service. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The configuration factory service. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler service. * @param \Drupal\language\Config\LanguageConfigFactoryOverrideInterface $config_override * The language configuration override service. * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack * The request stack object. */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:120
- ⧉public init() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:131
- ⧉public isMultilingual() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:143
- ⧉public getLanguageTypes() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:150
- ⧉public getDefinedLanguageTypes() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:158
- ⧉public getDefinedLanguageTypesInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:179
- ⧉public saveLanguageTypesConfiguration(array $values) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:196
- ⧉public getCurrentLanguage($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:210
- ⧉public reset($type = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:241
- ⧉public getNegotiator() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:263
- ⧉public setNegotiator(Drupal\language\LanguageNegotiatorInterface $negotiator) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:270
- ⧉public getLanguages($flags = 1) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:279
- ⧉public getNativeLanguages() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:326
- ⧉public updateLockedLanguageWeights() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:344
- ⧉public getFallbackCandidates(array $context = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:366
- ⧉public getLanguageSwitchLinks($type, Drupal\Core\Url $url) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:405
- ⧉public setConfigOverrideLanguage(Drupal\Core\Language\LanguageInterface $language = null): $this Sets the configuration override language.
/** * Sets the configuration override language. * * @param \Drupal\Core\Language\LanguageInterface $language * The language to override configuration with. * * @return $this */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:436
- ⧉public getConfigOverrideLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:444
- ⧉public getLanguageConfigOverride($langcode, $name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:451
- ⧉public getLanguageConfigOverrideStorage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:458
- ⧉public getStandardLanguageListWithoutConfigured() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:465
- ⧉public getNegotiatedLanguageMethod($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:482
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:32
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:67
- ⧉public getDefaultLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:116
- ⧉public getLanguage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:150
- ⧉public getLanguageName($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:158
- ⧉public getDefaultLockedLanguages($weight0) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:174
- ⧉public isLanguageLocked($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:202
- ⧉protected loadLanguageTypesConfiguration(): array Retrieves language types from the configuration storage.
/** * Retrieves language types from the configuration storage. * * @return array * An array of language type names. */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:169
- ⧉protected filterLanguages(array $languages, $flags = 1): \Drupal\Core\Language\LanguageInterface[] Filters the full list of languages based on the value of the flag.
/** * Filters the full list of languages based on the value of the flag. * * The locked languages are removed by default. * * @param \Drupal\Core\Language\LanguageInterface[] $languages * Array with languages to be filtered. * @param int $flags * (optional) Specifies the state of the languages that have to be returned. * It can be: LanguageInterface::STATE_CONFIGURABLE, * LanguageInterface::STATE_LOCKED, or LanguageInterface::STATE_ALL. * * @return \Drupal\Core\Language\LanguageInterface[] * An associative array of languages, keyed by the language code. */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:397
- ⇄⧉public static rebuildServices() {@inheritdoc}\Drupal\language\ConfigurableLanguageManager::rebuildServices()
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:102
- ⇄⧉public static getStandardLanguageList() {@inheritdoc}\Drupal\Core\Language\LanguageManager::getStandardLanguageList()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:224
- ⇄⧉public static getUnitedNationsLanguageList(): array The 6 official languages used at the United Nations.\Drupal\Core\Language\LanguageManager::getUnitedNationsLanguageList()
/** * The 6 official languages used at the United Nations. * * This list is based on * http://www.un.org/en/sections/about-un/official-languages/index.html and it * uses the same format as getStandardLanguageList(). * * @return array * An array with language codes as keys, and English and native language * names as values. */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:344
- ⧉protected entityTypeManager -> Drupal\Core\Entity\EntityTypeManager (22)
- Properties (22)
- Available methods (37)
- ⧉protected handlers -> array (2) Depth Limit
- ⧉protected stringTranslation -> Drupal\Core\StringTranslation\TranslationManager (4) Depth Limit
- ⧉protected classResolver -> Drupal\Core\DependencyInjection\ClassResolver (4) Depth Limit
- ⧉protected entityLastInstalledSchemaRepository -> Drupal\Core\Entity\EntityLastInstalledSchemaRepository (4) Depth Limit
- protected cacheKey -> string (11) "entity_type"
- ⧉protected cacheTags -> array (1) Depth Limit
- protected alterHook -> string (11) "entity_type"
- protected subdir -> string (6) "Entity"
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12) Depth Limit
- protected defaults -> array (0)
- protected pluginDefinitionAnnotationName -> string (34) "Drupal\Component\Annotation\Plugin"
- protected pluginInterface -> string (34) "Drupal\Core\Entity\EntityInterface"
- ⧉protected namespaces -> ArrayObject (1) Depth Limit
- protected additionalAnnotationNamespaces -> array (0)
- ⧉protected discovery -> Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery (8) Depth Limit
- protected factory -> null
- protected mapper -> null
- ⧉protected definitions -> array (68) Depth Limit
- ⧉protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend (5) Depth Limit
- protected useCaches -> boolean true
- ⧉protected container -> Drupal\Core\DependencyInjection\Container Blacklisted
- public _serviceId -> string (19) "entity_type.manager"
- ⧉public setContainer(Symfony\Component\DependencyInjection\ContainerInterface $container = null)
Defined in .../symfony/dependency-injection/ContainerAwareTrait.php:26
- ⧉public __construct(Traversable $namespaces, Drupal\Core\Extension\ModuleHandlerInterface $module_handler, Drupal\Core\Cache\CacheBackendInterface $cache, Drupal\Core\StringTranslation\TranslationInterface $string_translation, Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver, Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository) Constructs a new Entity plugin manager.
/** * Constructs a new Entity plugin manager. * * @param \Traversable $namespaces * An object that implements \Traversable which contains the root paths * keyed by the corresponding namespace to look for plugin implementations, * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. * @param \Drupal\Core\Cache\CacheBackendInterface $cache * The cache backend to use. * @param \Drupal\Core\StringTranslation\TranslationInterface $string_translation * The string translation. * @param \Drupal\Core\DependencyInjection\ClassResolverInterface $class_resolver * The class resolver. * @param \Drupal\Core\Entity\EntityLastInstalledSchemaRepositoryInterface $entity_last_installed_schema_repository * The entity last installed schema repository. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:85
- ⧉public processDefinition(&$definition, $plugin_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:100
- ⧉public getDefinition($entity_type_id, $exception_on_invalid = true) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:135
- ⧉public getActiveDefinition($entity_type_id): \Drupal\Core\Entity\EntityTypeInterface Gets the active definition for a content entity type.
/** * Gets the active definition for a content entity type. * * @param string $entity_type_id * The entity type ID. * * @return \Drupal\Core\Entity\EntityTypeInterface * The active entity type definition. * * @internal */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:157
- ⧉public clearCachedDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:165
- ⧉public useCaches($use_caches = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:173
- ⧉public hasHandler($entity_type_id, $handler_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:184
- ⧉public getStorage($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:195
- ⧉public getListBuilder($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:202
- ⧉public getFormObject($entity_type_id, $operation) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:209
- ⧉public getRouteProviders($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:226
- ⧉public getViewBuilder($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:241
- ⧉public getAccessControlHandler($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:248
- ⧉public getHandler($entity_type_id, $handler_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:255
- ⧉public createHandlerInstance($class, Drupal\Core\Entity\EntityTypeInterface $definition = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:271
- ⧉public hasDefinition($plugin_id) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:59
- ⧉public setCacheBackend(Drupal\Core\Cache\CacheBackendInterface $cache_backend, $cache_key, array $cache_tags = array()) Initialize the cache backend.
/** * Initialize the cache backend. * * Plugin definitions are cached using the provided cache backend. * * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend * Cache backend instance to use. * @param string $cache_key * Cache key prefix to use. * @param array $cache_tags * (optional) When providing a list of cache tags, the cached plugin * definitions are tagged with the provided cache tags. These cache tags can * then be used to clear the corresponding cached plugin definitions. Note * that this should be used with care! For clearing all cached plugin * definitions of a plugin manager, call that plugin manager's * clearCachedDefinitions() method. Only use cache tags when cached plugin * definitions should be cleared along with other, related cache entries. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:151
- ⧉public getDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:172
- ⧉public getCacheContexts() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:350
- ⧉public getCacheTags() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:357
- ⧉public getCacheMaxAge() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:364
- ⧉public createInstance($plugin_id, array $configuration = array()) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\PluginManagerBase Defined in <ROOT>/core/lib/Drupal/Component/Plugin/PluginManagerBase.php:71
- ⧉public getInstance(array $options) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\PluginManagerBase Defined in <ROOT>/core/lib/Drupal/Component/Plugin/PluginManagerBase.php:106
- ⧉protected findDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:115
- ⧉protected cacheGet($cid): object|false Fetches from the cache backend, respecting the use caches flag.
/** * Fetches from the cache backend, respecting the use caches flag. * * @param string $cid * The cache ID of the data to retrieve. * * @return object|false * The cache item or FALSE on failure. * * @see \Drupal\Core\Cache\CacheBackendInterface::get() */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php:35
- ⧉protected doGetDefinition(array $definitions, $plugin_id, $exception_on_invalid): array|null Gets a specific plugin definition.
/** * Gets a specific plugin definition. * * @param array $definitions * An array of the available plugin definitions. * @param string $plugin_id * A plugin id. * @param bool $exception_on_invalid * If TRUE, an invalid plugin ID will cause an exception to be thrown; if * FALSE, NULL will be returned. * * @return array|null * A plugin definition, or NULL if the plugin ID is invalid and * $exception_on_invalid is TRUE. * * @throws \Drupal\Component\Plugin\Exception\PluginNotFoundException * Thrown if $plugin_id is invalid and $exception_on_invalid is TRUE. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Discovery/DiscoveryTrait.php:43
- ⧉protected cacheSet($cid, $data, $expire = -1, array $tags = array()) Stores data in the persistent cache, respecting the use caches flag.
/** * Stores data in the persistent cache, respecting the use caches flag. * * @param string $cid * The cache ID of the data to store. * @param mixed $data * The data to store in the cache. * Some storage engines only allow objects up to a maximum of 1MB in size to * be stored by default. When caching large arrays or similar, take care to * ensure $data does not exceed this size. * @param int $expire * One of the following values: * - CacheBackendInterface::CACHE_PERMANENT: Indicates that the item should * not be removed unless it is deleted explicitly. * - A Unix timestamp: Indicates that the item will be considered invalid * after this time, i.e. it will not be returned by get() unless * $allow_invalid has been set to TRUE. When the item has expired, it may * be permanently deleted by the garbage collector at any time. * @param array $tags * An array of tags to be stored with the cache item. These should normally * identify objects used to build the cache item, which should trigger * cache invalidation when updated. For example if a cached item represents * a node, both the node ID and the author's user ID might be passed in as * tags. For example array('node' => array(123), 'user' => array(92)). * * @see \Drupal\Core\Cache\CacheBackendInterface::set() */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php:69
- ⧉protected alterInfo($alter_hook) Sets the alter hook name.
/** * Sets the alter hook name. * * @param string $alter_hook * Name of the alter hook; for example, to invoke * hook_mymodule_data_alter() pass in "mymodule_data". */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:165
- ⧉protected getCachedDefinitions(): array|null Returns the cached plugin definitions of the decorated discovery class.
/** * Returns the cached plugin definitions of the decorated discovery class. * * @return array|null * On success this will return an array of plugin definitions. On failure * this should return NULL, indicating to other methods that this has not * yet been defined. Success with no values should return as an empty array * and would actually be returned by the getDefinitions() method. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:206
- ⧉protected setCachedDefinitions($definitions) Sets a cache of plugin definitions for the decorated discovery class.
/** * Sets a cache of plugin definitions for the decorated discovery class. * * @param array $definitions * List of definitions to store in cache. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:219
- ⧉protected getDiscovery() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:259
- ⧉protected getFactory() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:270
- ⧉protected extractProviderFromDefinition($plugin_definition): string|null Extracts the provider from a plugin definition.
/** * Extracts the provider from a plugin definition. * * @param mixed $plugin_definition * The plugin definition. Usually either an array or an instance of * \Drupal\Component\Plugin\Definition\PluginDefinitionInterface * * @return string|null * The provider string, if it exists. NULL otherwise. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:310
- ⧉protected alterDefinitions(&$definitions) Invokes the hook to alter the definitions if the alter hook is set.
/** * Invokes the hook to alter the definitions if the alter hook is set. * * @param $definitions * The discovered plugin definitions. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:331
- ⧉protected providerExists($provider): bool Determines if the provider of a definition exists.
/** * Determines if the provider of a definition exists. * * @return bool * TRUE if provider exists, FALSE otherwise. */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:343
- ⧉protected handlePluginNotFound($plugin_id, array $configuration): object Allows plugin managers to specify custom behavior if a plugin is not found.
/** * Allows plugin managers to specify custom behavior if a plugin is not found. * * @param string $plugin_id * The ID of the missing requested plugin. * @param array $configuration * An array of configuration relevant to the plugin instance. * * @return object * A fallback plugin instance. */ Inherited from Drupal\Component\Plugin\PluginManagerBase Defined in <ROOT>/core/lib/Drupal/Component/Plugin/PluginManagerBase.php:98
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12)
- Properties (12)
- Available methods (33)
- ⧉protected loadedFiles -> array (167) Depth Limit
- ⧉protected moduleList -> array (167) Depth Limit
- protected loaded -> boolean true
- ⧉protected implementations -> array (1080) Blacklisted
- ⧉protected verified -> array (14) Depth Limit
- protected hookInfo -> null
- ⧉protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend (5) Depth Limit
- protected cacheNeedsWriting -> boolean false
- ⧉protected alterFunctions -> array (5) Depth Limit
- ⧉protected root -> string (79) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- Directory (4KB)
- Contents
drwxr-xr-x 31001 1003 4KB Nov 19 15:14 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
- ⧉protected includeFileKeys -> array (1) Depth Limit
- public _serviceId -> string (14) "module_handler"
- ⧉public __construct($root, array $module_list, Drupal\Core\Cache\CacheBackendInterface $cache_backend) Constructs a ModuleHandler object.
/** * Constructs a ModuleHandler object. * * @param string $root * The app root. * @param array $module_list * An associative array whose keys are the names of installed modules and * whose values are Extension class parameters. This is normally the * %container.modules% parameter being set up by DrupalKernel. * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend * Cache backend for storing module hook implementation information. * * @see \Drupal\Core\DrupalKernel * @see \Drupal\Core\CoreServiceProvider */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:110
- ⧉public load($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:122
- ⧉public loadAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:138
- ⧉public reload() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:150
- ⧉public isLoaded() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:158
- ⧉public getModuleList() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:165
- ⧉public getModule($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:172
- ⧉public setModuleList(array $module_list = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:182
- ⧉public addModule($name, $path) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:192
- ⧉public addProfile($name, $path) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:199
- ⧉public buildModuleDependencies(array $modules) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:223
- ⧉public moduleExists($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:246
- ⧉public loadAllIncludes($type, $name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:253
- ⧉public loadInclude($module, $type, $name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:262
- ⧉public getHookInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:290
- ⧉public getImplementations($hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:327
- ⧉public writeCache() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:335
- ⧉public resetImplementations() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:345
- ⧉public implementsHook($module, $hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:367
- ⧉public invoke($module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:387
- ⧉public invokeAll($hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:398
- ⧉public invokeDeprecated($description, $module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:418
- ⧉public invokeAllDeprecated($description, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:427
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:455
- ⧉public alterDeprecated($description, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:546
- ⧉public getModuleDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:700
- ⧉public getName($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:711
- ⧉protected add($type, $name, $path) Adds a module or profile to the list of currently active modules.
/** * Adds a module or profile to the list of currently active modules. * * @param string $type * The extension type; either 'module' or 'profile'. * @param string $name * The module name; e.g., 'node'. * @param string $path * The module path; e.g., 'core/modules/node'. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:213
- ⧉protected buildHookInfo() Builds hook_hook_info() information.
/** * Builds hook_hook_info() information. * * @see \Drupal\Core\Extension\ModuleHandler::getHookInfo() */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:308
- ⧉protected getImplementationInfo($hook): mixed[] Provides information about modules' implementations of a hook.
/** * Provides information about modules' implementations of a hook. * * @param string $hook * The name of the hook (e.g. "help" or "menu"). * * @return mixed[] * An array whose keys are the names of the modules which are implementing * this hook and whose values are either a string identifying a file in * which the implementation is to be found, or FALSE, if the implementation * is in the module file. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:577
- ⧉protected buildImplementationInfo($hook): mixed[] Builds hook implementation information for a given hook name.
/** * Builds hook implementation information for a given hook name. * * @param string $hook * The name of the hook (e.g. "help" or "menu"). * * @return mixed[] * An array whose keys are the names of the modules which are implementing * this hook and whose values are either a string identifying a file in * which the implementation is to be found, or FALSE, if the implementation * is in the module file. * * @throws \RuntimeException * Exception thrown when an invalid implementation is added by * hook_module_implements_alter(). * * @see \Drupal\Core\Extension\ModuleHandler::getImplementationInfo() */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:623
- ⧉protected verifyImplementations(&$implementations, $hook): bool Verifies an array of implementations loaded from the cache, by including the laz...
/** * Verifies an array of implementations loaded from the cache, by including * the lazy-loaded $module.$group.inc, and checking function_exists(). * * @param string[] $implementations * Implementation "group" by module name. * @param string $hook * The hook name. * * @return bool * TRUE, if all implementations exist. * FALSE, if one or more implementations don't exist and need to be removed * from the cache. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:672
- ⧉private triggerDeprecationError($description, $hook) Triggers an E_USER_DEPRECATED error if any module implements the hook.
/** * Triggers an E_USER_DEPRECATED error if any module implements the hook. * * @param string $description * Helpful text describing what to do instead of implementing this hook. * @param string $hook * The name of the hook. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:441
- ⧉protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend (5)
- Properties (5)
- Available methods (20)
- Static class properties (3)
- protected maxRows -> integer 5000
- protected bin -> string (15) "cache_discovery"
- ⧉protected connection -> Drupal\Core\Database\Driver\mysql\Connection (25) Depth Limit
- ⧉protected checksumProvider -> Drupal\Core\Cache\DatabaseCacheTagsChecksum (5) Depth Limit
- public _serviceId -> string (15) "cache.discovery"
- ⧉public __construct(Drupal\Core\Database\Connection $connection, Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider, $bin, $max_rows = null) Constructs a DatabaseBackend object.
/** * Constructs a DatabaseBackend object. * * @param \Drupal\Core\Database\Connection $connection * The database connection. * @param \Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider * The cache tags checksum provider. * @param string $bin * The cache bin for which the object is created. * @param int $max_rows * (optional) The maximum number of rows that are allowed in this cache bin * table. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:77
- ⧉public get($cid, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:90
- ⧉public getMultiple(&$cids, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:99
- ⧉public set($cid, $data, $expire = -1, array $tags = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:176
- ⧉public setMultiple(array $items) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:189
- ⧉public delete($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:279
- ⧉public deleteMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:286
- ⧉public deleteAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:309
- ⧉public invalidate($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:326
- ⧉public invalidateMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:333
- ⧉public invalidateAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:352
- ⧉public garbageCollection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:366
- ⧉public removeBin() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:399
- ⧉public schemaDefinition() Defines the schema for the {cache_*} bin tables.
/** * Defines the schema for the {cache_*} bin tables. * * @internal */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:478
- ⧉public getMaxRows(): int The maximum number of rows that this cache bin table is allowed to store.
/** * The maximum number of rows that this cache bin table is allowed to store. * * @return int */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:544
- ⧉protected prepareItem($cache, $allow_invalid): mixed|false Prepares a cached item.
/** * Prepares a cached item. * * Checks that items are either permanent or did not expire, and unserializes * data as appropriate. * * @param object $cache * An item loaded from self::get() or self::getMultiple(). * @param bool $allow_invalid * If FALSE, the method returns FALSE if the cache item is not valid. * * @return mixed|false * The item with data unserialized as appropriate and a property indicating * whether the item is valid, or FALSE if there is no valid item to load. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:146
- ⧉protected doSetMultiple(array $items) Stores multiple items in the persistent cache.
/** * Stores multiple items in the persistent cache. * * @param array $items * An array of cache items, keyed by cid. * * @see \Drupal\Core\Cache\CacheBackendInterface::setMultiple() */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:217
- ⧉protected ensureBinExists() Check if the cache bin exists and create it if not.
/** * Check if the cache bin exists and create it if not. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:411
- ⧉protected catchException(Exception $e, $table_name = null) Act on an exception when cache might be stale.
/** * Act on an exception when cache might be stale. * * If the table does not yet exist, that's fine, but if the table exists and * yet the query failed, then the cache is stale and the exception needs to * propagate. * * @param $e * The exception. * @param string|null $table_name * The table name. Defaults to $this->bin. * * @throws \Exception */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:443
- ⧉protected normalizeCid($cid): string Normalizes a cache ID in order to comply with database limitations.
/** * Normalizes a cache ID in order to comply with database limitations. * * @param string $cid * The passed in cache ID. * * @return string * An ASCII-encoded cache ID that is at most 255 characters long. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:458
- ⇄const DEFAULT_MAX_ROWS :: integer 5000\Drupal\Core\Cache\DatabaseBackend::DEFAULT_MAX_ROWS
- ⇄const MAXIMUM_NONE :: integer -1\Drupal\Core\Cache\DatabaseBackend::MAXIMUM_NONE
- ⇄const CACHE_PERMANENT :: integer -1\Drupal\Core\Cache\DatabaseBackend::CACHE_PERMANENT
- ⇄const DEFAULT_MAX_ROWS :: integer 5000
- protected useCaches -> boolean true
- protected stringTranslation -> null
- public _serviceId -> string (25) "entity_display.repository"
- ⧉public __construct(Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager, Drupal\Core\Extension\ModuleHandlerInterface $module_handler, Drupal\Core\Cache\CacheBackendInterface $cache_backend, Drupal\Core\Language\LanguageManagerInterface $language_manager) Constructs a new EntityDisplayRepository.
/** * Constructs a new EntityDisplayRepository. * * @param \Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager * The entity type manager. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend * The cache backend. * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager * The language manager. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:60
- ⧉public getAllViewModes() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:70
- ⧉public getViewModes($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:77
- ⧉public getAllFormModes() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:84
- ⧉public getFormModes($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:91
- ⧉public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation): $this Sets the string translation service to use.
/** * Sets the string translation service to use. * * @param \Drupal\Core\StringTranslation\TranslationInterface $translation * The string translation service. * * @return $this */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
- ⧉public getViewModeOptions($entity_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:153
- ⧉public getFormModeOptions($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:160
- ⧉public getViewModeOptionsByBundle($entity_type_id, $bundle) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:167
- ⧉public getFormModeOptionsByBundle($entity_type_id, $bundle) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:174
- ⧉public clearDisplayModeInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:241
- ⧉public getViewDisplay($entity_type, $bundle, $view_mode = 'default') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:249
- ⧉public getFormDisplay($entity_type, $bundle, $form_mode = 'default') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:272
- ⧉protected cacheGet($cid): object|false Fetches from the cache backend, respecting the use caches flag.
/** * Fetches from the cache backend, respecting the use caches flag. * * @param string $cid * The cache ID of the data to retrieve. * * @return object|false * The cache item or FALSE on failure. * * @see \Drupal\Core\Cache\CacheBackendInterface::get() */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php:35
- ⧉protected cacheSet($cid, $data, $expire = -1, array $tags = array()) Stores data in the persistent cache, respecting the use caches flag.
/** * Stores data in the persistent cache, respecting the use caches flag. * * @param string $cid * The cache ID of the data to store. * @param mixed $data * The data to store in the cache. * Some storage engines only allow objects up to a maximum of 1MB in size to * be stored by default. When caching large arrays or similar, take care to * ensure $data does not exceed this size. * @param int $expire * One of the following values: * - CacheBackendInterface::CACHE_PERMANENT: Indicates that the item should * not be removed unless it is deleted explicitly. * - A Unix timestamp: Indicates that the item will be considered invalid * after this time, i.e. it will not be returned by get() unless * $allow_invalid has been set to TRUE. When the item has expired, it may * be permanently deleted by the garbage collector at any time. * @param array $tags * An array of tags to be stored with the cache item. These should normally * identify objects used to build the cache item, which should trigger * cache invalidation when updated. For example if a cached item represents * a node, both the node ID and the author's user ID might be passed in as * tags. For example array('node' => array(123), 'user' => array(92)). * * @see \Drupal\Core\Cache\CacheBackendInterface::set() */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/UseCacheBackendTrait.php:69
- ⧉protected t($string, array $args = array(), array $options = array()): \Drupal\Core\StringTranslation\TranslatableMarkup Translates a string to the current language or to a given language.
/** * Translates a string to the current language or to a given language. * * See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for * important security information and usage guidelines. * * In order for strings to be localized, make them available in one of the * ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. When * possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait * $this->t(). Otherwise create a new * \Drupal\Core\StringTranslation\TranslatableMarkup object. * * @param string $string * A string containing the English text to translate. * @param array $args * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. See the * @link i18n Internationalization topic @endlink for more information * about string contexts. * * @return \Drupal\Core\StringTranslation\TranslatableMarkup * An object that, when cast to a string, returns the translated string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() * * @ingroup sanitization */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
- ⧉protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array()) Formats a string containing a count of items.
/** * Formats a string containing a count of items. * * @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural() */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
- ⧉protected getNumberOfPlurals($langcode = null) Returns the number of plurals supported by a given language.
/** * Returns the number of plurals supported by a given language. * * @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals() */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
- ⧉protected getAllDisplayModesByEntityType($display_type): array Gets the entity display mode info for all entity types.
/** * Gets the entity display mode info for all entity types. * * @param string $display_type * The display type to be retrieved. It can be "view_mode" or "form_mode". * * @return array * The display mode info for all entity types. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:104
- ⧉protected getDisplayModesByEntityType($display_type, $entity_type_id): array Gets the entity display mode info for a specific entity type.
/** * Gets the entity display mode info for a specific entity type. * * @param string $display_type * The display type to be retrieved. It can be "view_mode" or "form_mode". * @param string $entity_type_id * The entity type whose display mode info should be returned. * * @return array * The display mode info for a specific entity type. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:137
- ⧉protected getDisplayModeOptions($display_type, $entity_type_id): array Gets an array of display mode options.
/** * Gets an array of display mode options. * * @param string $display_type * The display type to be retrieved. It can be "view_mode" or "form_mode". * @param string $entity_type_id * The entity type whose display mode options should be returned. * * @return array * An array of display mode labels, keyed by the display mode ID. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:189
- ⧉protected getDisplayModeOptionsByBundle($display_type, $entity_type_id, $bundle): array Returns an array of enabled display mode options by bundle.
/** * Returns an array of enabled display mode options by bundle. * * @param $display_type * The display type to be retrieved. It can be "view_mode" or "form_mode". * @param string $entity_type_id * The entity type whose display mode options should be returned. * @param string $bundle * The name of the bundle. * * @return array * An array of display mode labels, keyed by the display mode ID. */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityDisplayRepository.php:210
- ⇄const DEFAULT_DISPLAY_MODE :: string (7) "default"\Drupal\Core\Entity\EntityDisplayRepository::DEFAULT_DISPLAY_MODE
- ⇄const DEFAULT_DISPLAY_MODE :: string (7) "default"
- protected cacheBin -> string (6) "render"
- ⧉protected languageManager -> Drupal\language\ConfigurableLanguageManager (17)
- Properties (17)
- Available methods (34)
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (6)
- Properties (6)
- Available methods (20)
- ⧉protected storage -> Drupal\Core\Config\CachedStorage (6) Depth Limit
- ⧉protected eventDispatcher -> Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher (4) Depth Limit
- ⧉protected cache -> array (38) Depth Limit
- ⧉protected typedConfigManager -> Drupal\Core\Config\TypedConfigManager (25) Depth Limit
- ⧉protected configFactoryOverrides -> array (20) Depth Limit
- public _serviceId -> string (14) "config.factory"
- ⧉public __construct(Drupal\Core\Config\StorageInterface $storage, Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher, Drupal\Core\Config\TypedConfigManagerInterface $typed_config) Constructs the Config factory.
/** * Constructs the Config factory. * * @param \Drupal\Core\Config\StorageInterface $storage * The configuration storage engine. * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher * An event dispatcher instance to use for configuration events. * @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config * The typed configuration manager. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:72
- ⧉public getEditable($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:81
- ⧉public get($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:88
- ⧉public loadMultiple(array $names) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:135
- ⧉public reset($name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:231
- ⧉public rename($old_name, $new_name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:252
- ⧉public getCacheKeys() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:270
- ⧉public clearStaticCache() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:319
- ⧉public listAll($prefix = '') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:327
- ⧉public onConfigSave(Drupal\Core\Config\ConfigCrudEvent $event) Updates stale static cache entries when configuration is saved.
/** * Updates stale static cache entries when configuration is saved. * * @param ConfigCrudEvent $event * The configuration event. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:337
- ⧉public onConfigDelete(Drupal\Core\Config\ConfigCrudEvent $event) Removes stale static cache entries when configuration is deleted.
/** * Removes stale static cache entries when configuration is deleted. * * @param \Drupal\Core\Config\ConfigCrudEvent $event * The configuration event. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:366
- ⧉public addOverride(Drupal\Core\Config\ConfigFactoryOverrideInterface $config_factory_override) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:394
- ⧉protected doGet($name, $immutable = true): \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig Returns a configuration object for a given name.
/** * Returns a configuration object for a given name. * * @param string $name * The name of the configuration object to construct. * @param bool $immutable * (optional) Create an immutable configuration object. Defaults to TRUE. * * @return \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig * A configuration object. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:103
- ⧉protected doLoadMultiple(array $names, $immutable = true): \Drupal\Core\Config\Config[]|\Drupal\Core\Config\ImmutableConfig[] Returns a list of configuration objects for the given names.
/** * Returns a list of configuration objects for the given names. * * @param array $names * List of names of configuration objects. * @param bool $immutable * (optional) Create an immutable configuration objects. Defaults to TRUE. * * @return \Drupal\Core\Config\Config[]|\Drupal\Core\Config\ImmutableConfig[] * List of successfully loaded configuration objects, keyed by name. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:150
- ⧉protected loadOverrides(array $names): array Get arbitrary overrides for the named configuration objects from modules.
/** * Get arbitrary overrides for the named configuration objects from modules. * * @param array $names * The names of the configuration objects to get overrides for. * * @return array * An array of overrides keyed by the configuration object name. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:204
- ⧉protected propagateConfigOverrideCacheability($cache_key, $name) Propagates cacheability of config overrides to cached config objects.
/** * Propagates cacheability of config overrides to cached config objects. * * @param string $cache_key * The key of the cached config object to update. * @param string $name * The name of the configuration object to construct. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:222
- ⧉protected getConfigCacheKey($name, $immutable): string Gets the static cache key for a given config name.
/** * Gets the static cache key for a given config name. * * @param string $name * The name of the configuration object. * @param bool $immutable * Whether or not the object is mutable. * * @return string * The cache key. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:291
- ⧉protected getConfigCacheKeys($name): array Gets all the cache keys that match the provided config name.
/** * Gets all the cache keys that match the provided config name. * * @param string $name * The name of the configuration object. * * @return array * An array of cache keys that match the provided config name. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:308
- ⧉protected createConfigObject($name, $immutable): \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig Creates a configuration object.
/** * Creates a configuration object. * * @param string $name * Configuration object name. * @param bool $immutable * Determines whether a mutable or immutable config object is returned. * * @return \Drupal\Core\Config\Config|\Drupal\Core\Config\ImmutableConfig * The configuration object. */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:409
- ⇄⧉public static getSubscribedEvents() {@inheritdoc}\Drupal\Core\Config\ConfigFactory::getSubscribedEvents()
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactory.php:385
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12)
- Properties (12)
- Available methods (33)
- ⧉protected loadedFiles -> array (167) Depth Limit
- ⧉protected moduleList -> array (167) Depth Limit
- protected loaded -> boolean true
- ⧉protected implementations -> array (1080) Blacklisted
- ⧉protected verified -> array (14) Depth Limit
- protected hookInfo -> null
- ⧉protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend (5) Depth Limit
- protected cacheNeedsWriting -> boolean false
- ⧉protected alterFunctions -> array (5) Depth Limit
- ⧉protected root -> string (79) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- Directory (4KB)
- Contents
drwxr-xr-x 31001 1003 4KB Nov 19 15:14 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
- ⧉protected includeFileKeys -> array (1) Depth Limit
- public _serviceId -> string (14) "module_handler"
- ⧉public __construct($root, array $module_list, Drupal\Core\Cache\CacheBackendInterface $cache_backend) Constructs a ModuleHandler object.
/** * Constructs a ModuleHandler object. * * @param string $root * The app root. * @param array $module_list * An associative array whose keys are the names of installed modules and * whose values are Extension class parameters. This is normally the * %container.modules% parameter being set up by DrupalKernel. * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend * Cache backend for storing module hook implementation information. * * @see \Drupal\Core\DrupalKernel * @see \Drupal\Core\CoreServiceProvider */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:110
- ⧉public load($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:122
- ⧉public loadAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:138
- ⧉public reload() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:150
- ⧉public isLoaded() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:158
- ⧉public getModuleList() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:165
- ⧉public getModule($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:172
- ⧉public setModuleList(array $module_list = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:182
- ⧉public addModule($name, $path) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:192
- ⧉public addProfile($name, $path) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:199
- ⧉public buildModuleDependencies(array $modules) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:223
- ⧉public moduleExists($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:246
- ⧉public loadAllIncludes($type, $name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:253
- ⧉public loadInclude($module, $type, $name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:262
- ⧉public getHookInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:290
- ⧉public getImplementations($hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:327
- ⧉public writeCache() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:335
- ⧉public resetImplementations() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:345
- ⧉public implementsHook($module, $hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:367
- ⧉public invoke($module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:387
- ⧉public invokeAll($hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:398
- ⧉public invokeDeprecated($description, $module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:418
- ⧉public invokeAllDeprecated($description, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:427
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:455
- ⧉public alterDeprecated($description, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:546
- ⧉public getModuleDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:700
- ⧉public getName($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:711
- ⧉protected add($type, $name, $path) Adds a module or profile to the list of currently active modules.
/** * Adds a module or profile to the list of currently active modules. * * @param string $type * The extension type; either 'module' or 'profile'. * @param string $name * The module name; e.g., 'node'. * @param string $path * The module path; e.g., 'core/modules/node'. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:213
- ⧉protected buildHookInfo() Builds hook_hook_info() information.
/** * Builds hook_hook_info() information. * * @see \Drupal\Core\Extension\ModuleHandler::getHookInfo() */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:308
- ⧉protected getImplementationInfo($hook): mixed[] Provides information about modules' implementations of a hook.
/** * Provides information about modules' implementations of a hook. * * @param string $hook * The name of the hook (e.g. "help" or "menu"). * * @return mixed[] * An array whose keys are the names of the modules which are implementing * this hook and whose values are either a string identifying a file in * which the implementation is to be found, or FALSE, if the implementation * is in the module file. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:577
- ⧉protected buildImplementationInfo($hook): mixed[] Builds hook implementation information for a given hook name.
/** * Builds hook implementation information for a given hook name. * * @param string $hook * The name of the hook (e.g. "help" or "menu"). * * @return mixed[] * An array whose keys are the names of the modules which are implementing * this hook and whose values are either a string identifying a file in * which the implementation is to be found, or FALSE, if the implementation * is in the module file. * * @throws \RuntimeException * Exception thrown when an invalid implementation is added by * hook_module_implements_alter(). * * @see \Drupal\Core\Extension\ModuleHandler::getImplementationInfo() */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:623
- ⧉protected verifyImplementations(&$implementations, $hook): bool Verifies an array of implementations loaded from the cache, by including the laz...
/** * Verifies an array of implementations loaded from the cache, by including * the lazy-loaded $module.$group.inc, and checking function_exists(). * * @param string[] $implementations * Implementation "group" by module name. * @param string $hook * The hook name. * * @return bool * TRUE, if all implementations exist. * FALSE, if one or more implementations don't exist and need to be removed * from the cache. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:672
- ⧉private triggerDeprecationError($description, $hook) Triggers an E_USER_DEPRECATED error if any module implements the hook.
/** * Triggers an E_USER_DEPRECATED error if any module implements the hook. * * @param string $description * Helpful text describing what to do instead of implementing this hook. * @param string $hook * The name of the hook. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:441
- ⧉protected configFactoryOverride -> Drupal\language\Config\LanguageConfigFactoryOverride (6)
- Properties (6)
- Available methods (19)
- ⧉protected baseStorage -> Drupal\Core\Config\CachedStorage (6) Depth Limit
- ⧉protected storages -> array (1) Depth Limit
- ⧉protected typedConfigManager -> Drupal\Core\Config\TypedConfigManager (25) Depth Limit
- ⧉protected eventDispatcher -> Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher (4) Depth Limit
- ⧉protected language -> Drupal\Core\Language\Language (5) Depth Limit
- public _serviceId -> string (32) "language.config_factory_override"
- ⧉public __construct(Drupal\Core\Config\StorageInterface $storage, Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher, Drupal\Core\Config\TypedConfigManagerInterface $typed_config, Drupal\Core\Language\LanguageDefault $default_language) Constructs the LanguageConfigFactoryOverride object.
/** * Constructs the LanguageConfigFactoryOverride object. * * @param \Drupal\Core\Config\StorageInterface $storage * The configuration storage engine. * @param \Symfony\Contracts\EventDispatcher\EventDispatcherInterface $event_dispatcher * An event dispatcher instance to use for configuration events. * @param \Drupal\Core\Config\TypedConfigManagerInterface $typed_config * The typed configuration manager. * @param \Drupal\Core\Language\LanguageDefault $default_language * The default language. */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:74
- ⧉public loadOverrides($names) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:86
- ⧉public getOverride($langcode, $name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:97
- ⧉public getStorage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:117
- ⧉public getCacheSuffix() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:127
- ⧉public getLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:134
- ⧉public setLanguage(Drupal\Core\Language\LanguageInterface $language = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:141
- ⧉public installLanguageOverrides($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:149
- ⧉public createConfigObject($name, $collection = '') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:158
- ⧉public addCollections(Drupal\Core\Config\ConfigCollectionInfo $collection_info) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:166
- ⧉public onConfigSave(Drupal\Core\Config\ConfigCrudEvent $event) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:175
- ⧉public onConfigRename(Drupal\Core\Config\ConfigRenameEvent $event) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:189
- ⧉public onConfigDelete(Drupal\Core\Config\ConfigCrudEvent $event) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:207
- ⧉public getCacheableMetadata($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigFactoryOverride.php:221
- ⧉protected createConfigCollectionName($langcode): string Creates a configuration collection name based on a language code.
/** * Creates a configuration collection name based on a language code. * * @param string $langcode * The language code. * * @return string * The configuration collection name for a language code. */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigCollectionNameTrait.php:19
- ⧉protected getLangcodeFromCollectionName($collection): string Converts a configuration collection name to a language code.
/** * Converts a configuration collection name to a language code. * * @param string $collection * The configuration collection name. * * @return string * The language code of the collection. * * @throws \InvalidArgumentException * Exception thrown if the provided collection name is not in the format * "language.LANGCODE". * * @see self::createConfigCollectionName() */ Defined in <ROOT>/core/modules/language/src/Config/LanguageConfigCollectionNameTrait.php:38
- ⧉protected filterOverride(Drupal\Core\Config\Config $config, Drupal\Core\Config\StorableConfigBase $override) Filters data in the override based on what is currently in configuration.
/** * Filters data in the override based on what is currently in configuration. * * @param \Drupal\Core\Config\Config $config * Current configuration object. * @param \Drupal\Core\Config\StorableConfigBase $override * Override object corresponding to the configuration to filter data in. */ Inherited from Drupal\Core\Config\ConfigFactoryOverrideBase Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php:63
- ⧉protected filterNestedArray(array $original_data, array &$override_data): bool Filters data in nested arrays.
/** * Filters data in nested arrays. * * @param array $original_data * Original data array to filter against. * @param array $override_data * Override data to filter. * * @return bool * TRUE if $override_data was changed, FALSE otherwise. */ Inherited from Drupal\Core\Config\ConfigFactoryOverrideBase Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php:87
- ⇄⧉public static getSubscribedEvents() {@inheritdoc}\Drupal\Core\Config\ConfigFactoryOverrideBase::getSubscribedEvents()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Config\ConfigFactoryOverrideBase Defined in <ROOT>/core/lib/Drupal/Core/Config/ConfigFactoryOverrideBase.php:47
- ⧉protected requestStack -> Symfony\Component\HttpFoundation\RequestStack (2)
- Properties (2)
- Available methods (5)
- ⧉private requests -> array (2) Depth Limit
- public _serviceId -> string (13) "request_stack"
- ⧉public push(Symfony\Component\HttpFoundation\Request $request) Pushes a Request on the stack.
/** * Pushes a Request on the stack. * * This method should generally not be called directly as the stack * management should be taken care of by the application itself. */ Defined in .../symfony/http-foundation/RequestStack.php:32
- ⧉public pop(): Request|null Pops the current request from the stack.
/** * Pops the current request from the stack. * * This operation lets the current request go out of scope. * * This method should generally not be called directly as the stack * management should be taken care of by the application itself. * * @return Request|null */ Defined in .../symfony/http-foundation/RequestStack.php:47
- ⧉public getCurrentRequest(): Request|null
/** * @return Request|null */ Defined in .../symfony/http-foundation/RequestStack.php:59
- ⧉public getMasterRequest(): Request|null Gets the master Request.
/** * Gets the master Request. * * Be warned that making your code aware of the master request * might make it un-compatible with other features of your framework * like ESI support. * * @return Request|null */ Defined in .../symfony/http-foundation/RequestStack.php:73
- ⧉public getParentRequest(): Request|null Returns the parent request of the current.
/** * Returns the parent request of the current. * * Be warned that making your code aware of the parent request * might make it un-compatible with other features of your framework * like ESI support. * * If current Request is the master request, it returns null. * * @return Request|null */ Defined in .../symfony/http-foundation/RequestStack.php:93
- protected negotiator -> null
- ⧉protected languageTypes -> array (5)
- ⧉all => array (3) Depth Limit
- ⧉configurable => array (1) Depth Limit
- ⧉negotiation => array (3) Depth Limit
- ⧉_core => array (1) Depth Limit
- langcode => string (2) "de"
- ⧉protected languageTypesInfo -> array (3)
- ⧉language_interface => array (3) Depth Limit
- ⧉language_content => array (3) Depth Limit
- ⧉language_url => array (2) Depth Limit
- ⧉protected negotiatedLanguages -> array (2)
- ⧉language_url => Drupal\Core\Language\Language (5) Depth Limit
- ⧉language_interface => Drupal\Core\Language\Language (5) Depth Limit
- protected negotiatedMethods -> null
- protected initialized -> boolean false
- protected initializing -> array (0)
- ⧉protected languages -> array (1)
- ⧉de => array (2) Depth Limit
- ⧉protected defaultLanguage -> Drupal\Core\Language\LanguageDefault (2)
- Properties (2)
- Available methods (3)
- ⧉protected language -> Drupal\Core\Language\Language (5) Depth Limit
- public _serviceId -> string (16) "language.default"
- ⧉public __construct(array $values) Constructs the default language object.
/** * Constructs the default language object. * * @param array $values * The properties used to construct the default language. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageDefault.php:30
- ⧉public get(): \Drupal\Core\Language\LanguageInterface Gets the default language.
/** * Gets the default language. * * @return \Drupal\Core\Language\LanguageInterface * The default language. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageDefault.php:40
- ⧉public set(Drupal\Core\Language\LanguageInterface $language) Sets the default language.
/** * Sets the default language. * * @param \Drupal\Core\Language\LanguageInterface $language * The default language. */ Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageDefault.php:50
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- public _serviceId -> string (16) "language_manager"
- ⧉public definedLanguageTypesInfo -> array (3)
- ⧉language_interface => array (3) Depth Limit
- ⧉language_content => array (3) Depth Limit
- ⧉language_url => array (1) Depth Limit
- ⧉public __construct(Drupal\Core\Language\LanguageDefault $default_language, Drupal\Core\Config\ConfigFactoryInterface $config_factory, Drupal\Core\Extension\ModuleHandlerInterface $module_handler, Drupal\language\Config\LanguageConfigFactoryOverrideInterface $config_override, Symfony\Component\HttpFoundation\RequestStack $request_stack) Constructs a new ConfigurableLanguageManager object.
/** * Constructs a new ConfigurableLanguageManager object. * * @param \Drupal\Core\Language\LanguageDefault $default_language * The default language service. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The configuration factory service. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler service. * @param \Drupal\language\Config\LanguageConfigFactoryOverrideInterface $config_override * The language configuration override service. * @param \Symfony\Component\HttpFoundation\RequestStack $request_stack * The request stack object. */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:120
- ⧉public init() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:131
- ⧉public isMultilingual() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:143
- ⧉public getLanguageTypes() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:150
- ⧉public getDefinedLanguageTypes() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:158
- ⧉public getDefinedLanguageTypesInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:179
- ⧉public saveLanguageTypesConfiguration(array $values) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:196
- ⧉public getCurrentLanguage($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:210
- ⧉public reset($type = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:241
- ⧉public getNegotiator() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:263
- ⧉public setNegotiator(Drupal\language\LanguageNegotiatorInterface $negotiator) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:270
- ⧉public getLanguages($flags = 1) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:279
- ⧉public getNativeLanguages() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:326
- ⧉public updateLockedLanguageWeights() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:344
- ⧉public getFallbackCandidates(array $context = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:366
- ⧉public getLanguageSwitchLinks($type, Drupal\Core\Url $url) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:405
- ⧉public setConfigOverrideLanguage(Drupal\Core\Language\LanguageInterface $language = null): $this Sets the configuration override language.
/** * Sets the configuration override language. * * @param \Drupal\Core\Language\LanguageInterface $language * The language to override configuration with. * * @return $this */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:436
- ⧉public getConfigOverrideLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:444
- ⧉public getLanguageConfigOverride($langcode, $name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:451
- ⧉public getLanguageConfigOverrideStorage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:458
- ⧉public getStandardLanguageListWithoutConfigured() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:465
- ⧉public getNegotiatedLanguageMethod($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:482
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:32
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:67
- ⧉public getDefaultLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:116
- ⧉public getLanguage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:150
- ⧉public getLanguageName($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:158
- ⧉public getDefaultLockedLanguages($weight0) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:174
- ⧉public isLanguageLocked($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:202
- ⧉protected loadLanguageTypesConfiguration(): array Retrieves language types from the configuration storage.
/** * Retrieves language types from the configuration storage. * * @return array * An array of language type names. */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:169
- ⧉protected filterLanguages(array $languages, $flags = 1): \Drupal\Core\Language\LanguageInterface[] Filters the full list of languages based on the value of the flag.
/** * Filters the full list of languages based on the value of the flag. * * The locked languages are removed by default. * * @param \Drupal\Core\Language\LanguageInterface[] $languages * Array with languages to be filtered. * @param int $flags * (optional) Specifies the state of the languages that have to be returned. * It can be: LanguageInterface::STATE_CONFIGURABLE, * LanguageInterface::STATE_LOCKED, or LanguageInterface::STATE_ALL. * * @return \Drupal\Core\Language\LanguageInterface[] * An associative array of languages, keyed by the language code. */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:397
- ⇄⧉public static rebuildServices() {@inheritdoc}\Drupal\language\ConfigurableLanguageManager::rebuildServices()
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:102
- ⇄⧉public static getStandardLanguageList() {@inheritdoc}\Drupal\Core\Language\LanguageManager::getStandardLanguageList()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:224
- ⇄⧉public static getUnitedNationsLanguageList(): array The 6 official languages used at the United Nations.\Drupal\Core\Language\LanguageManager::getUnitedNationsLanguageList()
/** * The 6 official languages used at the United Nations. * * This list is based on * http://www.un.org/en/sections/about-un/official-languages/index.html and it * uses the same format as getStandardLanguageList(). * * @return array * An array with language codes as keys, and English and native language * names as values. */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:344
- ⧉protected themeRegistry -> Drupal\Core\Theme\Registry (14)
- Properties (14)
- Available methods (16)
- ⧉protected theme -> Drupal\Core\Theme\ActiveTheme (12)
- Properties (12)
- Available methods (13)
- protected name -> string (9) "dib_front"
- protected logo -> string (32) "themes/custom/dib_front/logo.svg"
- ⧉protected path -> string (23) "themes/custom/dib_front"
- Directory (4KB)
drwxr-xr-x 31001 1003 4KB Jan 17 2023 themes/custom/dib_front
- protected engine -> string (4) "twig"
- ⧉protected owner -> string (36) "core/themes/engines/twig/twig.engine"
- File (4.32KB)
-rw-r--r-- 31001 1003 4.32KB Apr 20 2022 core/themes/engines/twig/twig.engine
- ⧉protected baseThemeExtensions -> array (3) Depth Limit
- ⧉protected extension -> Drupal\Core\Extension\Extension (19) Depth Limit
- ⧉protected styleSheetsRemove -> array (1) Depth Limit
- ⧉protected libraries -> array (24) Depth Limit
- ⧉protected regions -> array (15) Depth Limit
- ⧉protected librariesOverride -> array (3) Depth Limit
- ⧉protected librariesExtend -> array (47) Depth Limit
- ⧉public __construct(array $values) Constructs an ActiveTheme object.
/** * Constructs an ActiveTheme object. * * @param array $values * The properties of the object, keyed by the names. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:106
- ⧉public getName(): string Returns the machine name of the theme.
/** * Returns the machine name of the theme. * * @return string */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:140
- ⧉public getPath(): string Returns the path to the theme directory.
/** * Returns the path to the theme directory. * * @return string */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:149
- ⧉public getEngine(): string Returns the theme engine.
/** * Returns the theme engine. * * @return string */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:158
- ⧉public getOwner(): mixed Returns the path to the theme engine for root themes.
/** * Returns the path to the theme engine for root themes. * * @see \Drupal\Core\Extension\ThemeExtensionList::doList() * * @return mixed */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:169
- ⧉public getExtension(): \Drupal\Core\Extension\Extension Returns the extension object.
/** * Returns the extension object. * * @return \Drupal\Core\Extension\Extension */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:178
- ⧉public getLibraries(): mixed Returns the libraries provided by the theme.
/** * Returns the libraries provided by the theme. * * @return mixed */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:187
- ⧉public getStyleSheetsRemove(): mixed Returns the removed stylesheets by the theme.
/** * Returns the removed stylesheets by the theme. * * This method is used as a BC layer to access the contents of the deprecated * stylesheets-remove key in theme info.yml files. It will be removed once it * is no longer needed in Drupal 10. * * @return mixed * The removed stylesheets. * * @see https://www.drupal.org/node/2497313 * * @todo Remove in Drupal 10.0.x. * * @internal */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:207
- ⧉public getBaseThemeExtensions(): \Drupal\Core\Extension\Extension[] Returns an array of base theme extension objects keyed by name.
/** * Returns an array of base theme extension objects keyed by name. * * The order starts with the base theme of $this and ends with the root of * the dependency chain. * * @return \Drupal\Core\Extension\Extension[] */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:219
- ⧉public getLogo(): string Returns the logo provided by the theme.
/** * Returns the logo provided by the theme. * * @return string * The logo path. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:229
- ⧉public getRegions(): string[] The regions used by the theme.
/** * The regions used by the theme. * * @return string[] * The list of region machine names supported by the theme. * * @see system_region_list() */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:241
- ⧉public getLibrariesOverride(): array Returns the libraries or library assets overridden by the active theme.
/** * Returns the libraries or library assets overridden by the active theme. * * @return array * The list of libraries overrides. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:251
- ⧉public getLibrariesExtend(): array Returns the libraries extended by the active theme.
/** * Returns the libraries extended by the active theme. * * @return array * The list of libraries-extend definitions. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ActiveTheme.php:261
- ⧉protected lock -> Drupal\Core\ProxyClass\Lock\DatabaseLockBackend (6)
- Properties (6)
- Available methods (11)
- protected drupalProxyOriginalServiceId -> string (34) "drupal.proxy_original_service.lock"
- protected service -> null
- ⧉protected container -> Drupal\Core\DependencyInjection\Container Blacklisted
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- public _serviceId -> string (4) "lock"
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:32
- ⧉public __construct(Symfony\Component\DependencyInjection\ContainerInterface $container, $drupal_proxy_original_service_id) Constructs a ProxyClass Drupal proxy object.
/** * Constructs a ProxyClass Drupal proxy object. * * @param \Symfony\Component\DependencyInjection\ContainerInterface $container * The container. * @param string $drupal_proxy_original_service_id * The service ID of the original service. */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:49
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:67
- ⧉public acquire($name, $timeout = 30.0) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:73
- ⧉public lockMayBeAvailable($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:81
- ⧉public release($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:89
- ⧉public releaseAll($lock_id = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:97
- ⧉public schemaDefinition() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:105
- ⧉public wait($name, $delay = 30) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:113
- ⧉public getLockId() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:121
- ⧉protected lazyLoadItself(): object Lazy loads the real service from the container.
/** * Lazy loads the real service from the container. * * @return object * Returns the constructed real service. */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:61
- protected registry -> array (0)
- ⧉protected cache -> Drupal\Core\Cache\DatabaseBackend (5)
- Properties (5)
- Available methods (20)
- Static class properties (3)
- protected maxRows -> integer 5000
- protected bin -> string (13) "cache_default"
- ⧉protected connection -> Drupal\Core\Database\Driver\mysql\Connection (25) Depth Limit
- ⧉protected checksumProvider -> Drupal\Core\Cache\DatabaseCacheTagsChecksum (5) Depth Limit
- public _serviceId -> string (13) "cache.default"
- ⧉public __construct(Drupal\Core\Database\Connection $connection, Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider, $bin, $max_rows = null) Constructs a DatabaseBackend object.
/** * Constructs a DatabaseBackend object. * * @param \Drupal\Core\Database\Connection $connection * The database connection. * @param \Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider * The cache tags checksum provider. * @param string $bin * The cache bin for which the object is created. * @param int $max_rows * (optional) The maximum number of rows that are allowed in this cache bin * table. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:77
- ⧉public get($cid, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:90
- ⧉public getMultiple(&$cids, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:99
- ⧉public set($cid, $data, $expire = -1, array $tags = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:176
- ⧉public setMultiple(array $items) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:189
- ⧉public delete($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:279
- ⧉public deleteMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:286
- ⧉public deleteAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:309
- ⧉public invalidate($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:326
- ⧉public invalidateMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:333
- ⧉public invalidateAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:352
- ⧉public garbageCollection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:366
- ⧉public removeBin() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:399
- ⧉public schemaDefinition() Defines the schema for the {cache_*} bin tables.
/** * Defines the schema for the {cache_*} bin tables. * * @internal */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:478
- ⧉public getMaxRows(): int The maximum number of rows that this cache bin table is allowed to store.
/** * The maximum number of rows that this cache bin table is allowed to store. * * @return int */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:544
- ⧉protected prepareItem($cache, $allow_invalid): mixed|false Prepares a cached item.
/** * Prepares a cached item. * * Checks that items are either permanent or did not expire, and unserializes * data as appropriate. * * @param object $cache * An item loaded from self::get() or self::getMultiple(). * @param bool $allow_invalid * If FALSE, the method returns FALSE if the cache item is not valid. * * @return mixed|false * The item with data unserialized as appropriate and a property indicating * whether the item is valid, or FALSE if there is no valid item to load. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:146
- ⧉protected doSetMultiple(array $items) Stores multiple items in the persistent cache.
/** * Stores multiple items in the persistent cache. * * @param array $items * An array of cache items, keyed by cid. * * @see \Drupal\Core\Cache\CacheBackendInterface::setMultiple() */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:217
- ⧉protected ensureBinExists() Check if the cache bin exists and create it if not.
/** * Check if the cache bin exists and create it if not. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:411
- ⧉protected catchException(Exception $e, $table_name = null) Act on an exception when cache might be stale.
/** * Act on an exception when cache might be stale. * * If the table does not yet exist, that's fine, but if the table exists and * yet the query failed, then the cache is stale and the exception needs to * propagate. * * @param $e * The exception. * @param string|null $table_name * The table name. Defaults to $this->bin. * * @throws \Exception */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:443
- ⧉protected normalizeCid($cid): string Normalizes a cache ID in order to comply with database limitations.
/** * Normalizes a cache ID in order to comply with database limitations. * * @param string $cid * The passed in cache ID. * * @return string * An ASCII-encoded cache ID that is at most 255 characters long. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:458
- ⇄const DEFAULT_MAX_ROWS :: integer 5000\Drupal\Core\Cache\DatabaseBackend::DEFAULT_MAX_ROWS
- ⇄const MAXIMUM_NONE :: integer -1\Drupal\Core\Cache\DatabaseBackend::MAXIMUM_NONE
- ⇄const CACHE_PERMANENT :: integer -1\Drupal\Core\Cache\DatabaseBackend::CACHE_PERMANENT
- ⇄const DEFAULT_MAX_ROWS :: integer 5000
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12)
- Properties (12)
- Available methods (33)
- ⧉protected loadedFiles -> array (167) Depth Limit
- ⧉protected moduleList -> array (167) Depth Limit
- protected loaded -> boolean true
- ⧉protected implementations -> array (1080) Blacklisted
- ⧉protected verified -> array (14) Depth Limit
- protected hookInfo -> null
- ⧉protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend (5) Depth Limit
- protected cacheNeedsWriting -> boolean false
- ⧉protected alterFunctions -> array (5) Depth Limit
- ⧉protected root -> string (79) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- Directory (4KB)
- Contents
drwxr-xr-x 31001 1003 4KB Nov 19 15:14 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
- ⧉protected includeFileKeys -> array (1) Depth Limit
- public _serviceId -> string (14) "module_handler"
- ⧉public __construct($root, array $module_list, Drupal\Core\Cache\CacheBackendInterface $cache_backend) Constructs a ModuleHandler object.
/** * Constructs a ModuleHandler object. * * @param string $root * The app root. * @param array $module_list * An associative array whose keys are the names of installed modules and * whose values are Extension class parameters. This is normally the * %container.modules% parameter being set up by DrupalKernel. * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend * Cache backend for storing module hook implementation information. * * @see \Drupal\Core\DrupalKernel * @see \Drupal\Core\CoreServiceProvider */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:110
- ⧉public load($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:122
- ⧉public loadAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:138
- ⧉public reload() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:150
- ⧉public isLoaded() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:158
- ⧉public getModuleList() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:165
- ⧉public getModule($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:172
- ⧉public setModuleList(array $module_list = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:182
- ⧉public addModule($name, $path) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:192
- ⧉public addProfile($name, $path) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:199
- ⧉public buildModuleDependencies(array $modules) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:223
- ⧉public moduleExists($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:246
- ⧉public loadAllIncludes($type, $name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:253
- ⧉public loadInclude($module, $type, $name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:262
- ⧉public getHookInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:290
- ⧉public getImplementations($hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:327
- ⧉public writeCache() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:335
- ⧉public resetImplementations() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:345
- ⧉public implementsHook($module, $hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:367
- ⧉public invoke($module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:387
- ⧉public invokeAll($hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:398
- ⧉public invokeDeprecated($description, $module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:418
- ⧉public invokeAllDeprecated($description, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:427
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:455
- ⧉public alterDeprecated($description, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:546
- ⧉public getModuleDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:700
- ⧉public getName($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:711
- ⧉protected add($type, $name, $path) Adds a module or profile to the list of currently active modules.
/** * Adds a module or profile to the list of currently active modules. * * @param string $type * The extension type; either 'module' or 'profile'. * @param string $name * The module name; e.g., 'node'. * @param string $path * The module path; e.g., 'core/modules/node'. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:213
- ⧉protected buildHookInfo() Builds hook_hook_info() information.
/** * Builds hook_hook_info() information. * * @see \Drupal\Core\Extension\ModuleHandler::getHookInfo() */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:308
- ⧉protected getImplementationInfo($hook): mixed[] Provides information about modules' implementations of a hook.
/** * Provides information about modules' implementations of a hook. * * @param string $hook * The name of the hook (e.g. "help" or "menu"). * * @return mixed[] * An array whose keys are the names of the modules which are implementing * this hook and whose values are either a string identifying a file in * which the implementation is to be found, or FALSE, if the implementation * is in the module file. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:577
- ⧉protected buildImplementationInfo($hook): mixed[] Builds hook implementation information for a given hook name.
/** * Builds hook implementation information for a given hook name. * * @param string $hook * The name of the hook (e.g. "help" or "menu"). * * @return mixed[] * An array whose keys are the names of the modules which are implementing * this hook and whose values are either a string identifying a file in * which the implementation is to be found, or FALSE, if the implementation * is in the module file. * * @throws \RuntimeException * Exception thrown when an invalid implementation is added by * hook_module_implements_alter(). * * @see \Drupal\Core\Extension\ModuleHandler::getImplementationInfo() */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:623
- ⧉protected verifyImplementations(&$implementations, $hook): bool Verifies an array of implementations loaded from the cache, by including the laz...
/** * Verifies an array of implementations loaded from the cache, by including * the lazy-loaded $module.$group.inc, and checking function_exists(). * * @param string[] $implementations * Implementation "group" by module name. * @param string $hook * The hook name. * * @return bool * TRUE, if all implementations exist. * FALSE, if one or more implementations don't exist and need to be removed * from the cache. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:672
- ⧉private triggerDeprecationError($description, $hook) Triggers an E_USER_DEPRECATED error if any module implements the hook.
/** * Triggers an E_USER_DEPRECATED error if any module implements the hook. * * @param string $description * Helpful text describing what to do instead of implementing this hook. * @param string $hook * The name of the hook. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:441
- ⧉protected runtimeRegistry -> array (1)
- ⧉dib_front => Drupal\Core\Utility\ThemeRegistry (12) Depth Limit
- protected initialized -> boolean false
- protected themeName -> null
- ⧉protected root -> string (79) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- Directory (4KB)
- Contents
drwxr-xr-x 31001 1003 4KB Nov 19 15:14 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
- ⧉protected themeHandler -> Drupal\Core\Extension\ThemeHandler (5)
- Properties (5)
- Available methods (13)
- ⧉protected list -> array (7) Depth Limit
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (6) Depth Limit
- ⧉protected themeList -> Drupal\Core\Extension\ThemeExtensionList (16) Depth Limit
- ⧉protected root -> string (79) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- Directory (4KB)
- Contents
drwxr-xr-x 31001 1003 4KB Nov 19 15:14 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
- public _serviceId -> string (13) "theme_handler"
- ⧉public __construct($root, Drupal\Core\Config\ConfigFactoryInterface $config_factory, Drupal\Core\Extension\ThemeExtensionList $theme_list) Constructs a new ThemeHandler.
/** * Constructs a new ThemeHandler. * * @param string $root * The app root. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The config factory to get the installed themes. * @param \Drupal\Core\Extension\ThemeExtensionList $theme_list * An extension discovery instance. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:51
- ⧉public getDefault() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:60
- ⧉public listInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:67
- ⧉public addTheme(Drupal\Core\Extension\Extension $theme) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:82
- ⧉public refreshInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:105
- ⧉public reset() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:119
- ⧉public rebuildThemeData() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:127
- ⧉public getBaseThemes(array $themes, $theme) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:134
- ⧉public getName($theme) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:141
- ⧉public getThemeDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:148
- ⧉public themeExists($theme) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:159
- ⧉public getTheme($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:167
- ⧉public hasUi($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ThemeHandler.php:178
- ⧉protected themeInitialization -> Drupal\Core\Theme\ThemeInitialization (6)
- Properties (6)
- Available methods (8)
- ⧉protected themeHandler -> Drupal\Core\Extension\ThemeHandler (5) Depth Limit
- ⧉protected cache -> Drupal\Core\Cache\DatabaseBackend (5) Depth Limit
- ⧉protected root -> string (79) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- Directory (4KB)
- Contents
drwxr-xr-x 31001 1003 4KB Nov 19 15:14 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
- protected extensions -> null
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12) Depth Limit
- public _serviceId -> string (20) "theme.initialization"
- ⧉public __construct($root, Drupal\Core\Extension\ThemeHandlerInterface $theme_handler, Drupal\Core\Cache\CacheBackendInterface $cache, Drupal\Core\Extension\ModuleHandlerInterface $module_handler) Constructs a new ThemeInitialization object.
/** * Constructs a new ThemeInitialization object. * * @param string $root * The app root. * @param \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler * The theme handler. * @param \Drupal\Core\Cache\CacheBackendInterface $cache * The cache backend. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler to use to load modules. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeInitialization.php:62
- ⧉public initTheme($theme_name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeInitialization.php:72
- ⧉public getActiveThemeByName($theme_name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeInitialization.php:82
- ⧉public loadActiveTheme(Drupal\Core\Theme\ActiveTheme $active_theme) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeInitialization.php:136
- ⧉public getActiveTheme(Drupal\Core\Extension\Extension $theme, array $base_themes = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeInitialization.php:170
- ⧉protected getExtensions(): array Gets all extensions.
/** * Gets all extensions. * * @return array */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeInitialization.php:279
- ⧉protected resolveStyleSheetPlaceholders($css_file): string Gets CSS file where tokens have been resolved.
/** * Gets CSS file where tokens have been resolved. * * @param string $css_file * CSS file which may contain tokens. * * @return string * CSS file where placeholders are replaced. * * @todo Remove in Drupal 9.0.x. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeInitialization.php:297
- ⧉protected prepareStylesheetsRemove(Drupal\Core\Extension\Extension $theme, $base_themes): string[] Prepares stylesheets-remove specified in the *.info.yml file.
/** * Prepares stylesheets-remove specified in the *.info.yml file. * * This method is used as a BC layer to access the contents of the deprecated * stylesheets-remove key in theme info.yml files. It will be removed once it * is no longer needed in Drupal 10. * * @param \Drupal\Core\Extension\Extension $theme * The theme extension object. * @param \Drupal\Core\Extension\Extension[] $base_themes * An array of base themes. * * @return string[] * The list of stylesheets-remove specified in the *.info.yml file. * * @todo Remove in Drupal 10.0.x. * * @internal */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeInitialization.php:331
- ⧉protected themeManager -> Drupal\Core\Theme\ThemeManager (7)
- Properties (7)
- Available methods (10)
- ⧉protected themeNegotiator -> Drupal\Core\Theme\ThemeNegotiator (4) Depth Limit
- ⧉protected themeRegistry -> Drupal\Core\Theme\Registry (14) Recursion
- ⧉protected activeTheme -> Drupal\Core\Theme\ActiveTheme (12) Depth Limit
- ⧉protected themeInitialization -> Drupal\Core\Theme\ThemeInitialization (6) Depth Limit
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12) Depth Limit
- ⧉protected root -> string (79) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- Directory (4KB)
- Contents
drwxr-xr-x 31001 1003 4KB Nov 19 15:14 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
- public _serviceId -> string (13) "theme.manager"
- ⧉public __construct($root, Drupal\Core\Theme\ThemeNegotiatorInterface $theme_negotiator, Drupal\Core\Theme\ThemeInitializationInterface $theme_initialization, Drupal\Core\Extension\ModuleHandlerInterface $module_handler) Constructs a new ThemeManager object.
/** * Constructs a new ThemeManager object. * * @param string $root * The app root. * @param \Drupal\Core\Theme\ThemeNegotiatorInterface $theme_negotiator * The theme negotiator. * @param \Drupal\Core\Theme\ThemeInitializationInterface $theme_initialization * The theme initialization. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:71
- ⧉public setThemeRegistry(Drupal\Core\Theme\Registry $theme_registry): $this Sets the theme registry.
/** * Sets the theme registry. * * @param \Drupal\Core\Theme\Registry $theme_registry * The theme registry. * * @return $this */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:86
- ⧉public getActiveTheme(Drupal\Core\Routing\RouteMatchInterface $route_match = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:94
- ⧉public hasActiveTheme() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:104
- ⧉public resetActiveTheme() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:111
- ⧉public setActiveTheme(Drupal\Core\Theme\ActiveTheme $active_theme) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:119
- ⧉public render($hook, array $variables) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:130
- ⧉public alterForTheme(Drupal\Core\Theme\ActiveTheme $theme, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} * * @todo Should we cache some of these information? */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:414
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:456
- ⧉protected initTheme(Drupal\Core\Routing\RouteMatchInterface $route_match = null) Initializes the active theme for a given route match.
/** * Initializes the active theme for a given route match. * * @param \Drupal\Core\Routing\RouteMatchInterface $route_match * The current route match. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/ThemeManager.php:396
- ⧉protected runtimeCache -> Drupal\Core\Cache\DatabaseBackend (5)
- Properties (5)
- Available methods (20)
- Static class properties (3)
- protected maxRows -> integer 5000
- protected bin -> string (15) "cache_bootstrap"
- ⧉protected connection -> Drupal\Core\Database\Driver\mysql\Connection (25) Depth Limit
- ⧉protected checksumProvider -> Drupal\Core\Cache\DatabaseCacheTagsChecksum (5) Depth Limit
- public _serviceId -> string (15) "cache.bootstrap"
- ⧉public __construct(Drupal\Core\Database\Connection $connection, Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider, $bin, $max_rows = null) Constructs a DatabaseBackend object.
/** * Constructs a DatabaseBackend object. * * @param \Drupal\Core\Database\Connection $connection * The database connection. * @param \Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider * The cache tags checksum provider. * @param string $bin * The cache bin for which the object is created. * @param int $max_rows * (optional) The maximum number of rows that are allowed in this cache bin * table. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:77
- ⧉public get($cid, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:90
- ⧉public getMultiple(&$cids, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:99
- ⧉public set($cid, $data, $expire = -1, array $tags = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:176
- ⧉public setMultiple(array $items) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:189
- ⧉public delete($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:279
- ⧉public deleteMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:286
- ⧉public deleteAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:309
- ⧉public invalidate($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:326
- ⧉public invalidateMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:333
- ⧉public invalidateAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:352
- ⧉public garbageCollection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:366
- ⧉public removeBin() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:399
- ⧉public schemaDefinition() Defines the schema for the {cache_*} bin tables.
/** * Defines the schema for the {cache_*} bin tables. * * @internal */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:478
- ⧉public getMaxRows(): int The maximum number of rows that this cache bin table is allowed to store.
/** * The maximum number of rows that this cache bin table is allowed to store. * * @return int */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:544
- ⧉protected prepareItem($cache, $allow_invalid): mixed|false Prepares a cached item.
/** * Prepares a cached item. * * Checks that items are either permanent or did not expire, and unserializes * data as appropriate. * * @param object $cache * An item loaded from self::get() or self::getMultiple(). * @param bool $allow_invalid * If FALSE, the method returns FALSE if the cache item is not valid. * * @return mixed|false * The item with data unserialized as appropriate and a property indicating * whether the item is valid, or FALSE if there is no valid item to load. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:146
- ⧉protected doSetMultiple(array $items) Stores multiple items in the persistent cache.
/** * Stores multiple items in the persistent cache. * * @param array $items * An array of cache items, keyed by cid. * * @see \Drupal\Core\Cache\CacheBackendInterface::setMultiple() */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:217
- ⧉protected ensureBinExists() Check if the cache bin exists and create it if not.
/** * Check if the cache bin exists and create it if not. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:411
- ⧉protected catchException(Exception $e, $table_name = null) Act on an exception when cache might be stale.
/** * Act on an exception when cache might be stale. * * If the table does not yet exist, that's fine, but if the table exists and * yet the query failed, then the cache is stale and the exception needs to * propagate. * * @param $e * The exception. * @param string|null $table_name * The table name. Defaults to $this->bin. * * @throws \Exception */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:443
- ⧉protected normalizeCid($cid): string Normalizes a cache ID in order to comply with database limitations.
/** * Normalizes a cache ID in order to comply with database limitations. * * @param string $cid * The passed in cache ID. * * @return string * An ASCII-encoded cache ID that is at most 255 characters long. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:458
- ⇄const DEFAULT_MAX_ROWS :: integer 5000\Drupal\Core\Cache\DatabaseBackend::DEFAULT_MAX_ROWS
- ⇄const MAXIMUM_NONE :: integer -1\Drupal\Core\Cache\DatabaseBackend::MAXIMUM_NONE
- ⇄const CACHE_PERMANENT :: integer -1\Drupal\Core\Cache\DatabaseBackend::CACHE_PERMANENT
- ⇄const DEFAULT_MAX_ROWS :: integer 5000
- public _serviceId -> string (14) "theme.registry"
- ⧉public __construct($root, Drupal\Core\Cache\CacheBackendInterface $cache, Drupal\Core\Lock\LockBackendInterface $lock, Drupal\Core\Extension\ModuleHandlerInterface $module_handler, Drupal\Core\Extension\ThemeHandlerInterface $theme_handler, Drupal\Core\Theme\ThemeInitializationInterface $theme_initialization, $theme_name = null, Drupal\Core\Cache\CacheBackendInterface $runtime_cache = null) Constructs a \Drupal\Core\Theme\Registry object.
/** * Constructs a \Drupal\Core\Theme\Registry object. * * @param string $root * The app root. * @param \Drupal\Core\Cache\CacheBackendInterface $cache * The cache backend interface to use for the complete theme registry data. * @param \Drupal\Core\Lock\LockBackendInterface $lock * The lock backend. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler to use to load modules. * @param \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler * The theme handler. * @param \Drupal\Core\Theme\ThemeInitializationInterface $theme_initialization * The theme initialization. * @param string $theme_name * (optional) The name of the theme for which to construct the registry. * @param \Drupal\Core\Cache\CacheBackendInterface $runtime_cache * The cache backend interface to use for the runtime theme registry data. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:178
- ⧉public setThemeManager(Drupal\Core\Theme\ThemeManagerInterface $theme_manager) Sets the theme manager.
/** * Sets the theme manager. * * @param \Drupal\Core\Theme\ThemeManagerInterface $theme_manager * The theme manager. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:195
- ⧉public get(): array Returns the complete theme registry from cache or rebuilds it.
/** * Returns the complete theme registry from cache or rebuilds it. * * @return array * The complete theme registry data array. * * @see Registry::$registry */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:231
- ⧉public getRuntime(): \Drupal\Core\Utility\ThemeRegistry Returns the incomplete, runtime theme registry.
/** * Returns the incomplete, runtime theme registry. * * @return \Drupal\Core\Utility\ThemeRegistry * A shared instance of the ThemeRegistry class, provides an ArrayObject * that allows it to be accessed with array syntax and isset(), and is more * lightweight than the full registry. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:257
- ⧉public getBaseHook($hook): string|false Returns the base hook for a given hook suggestion.
/** * Returns the base hook for a given hook suggestion. * * @param string $hook * The name of a theme hook whose base hook to find. * * @return string|false * The name of the base hook or FALSE. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:281
- ⧉public reset() Invalidates theme registry caches.
/** * Invalidates theme registry caches. * * To be called when the list of enabled extensions is changed. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:779
- ⧉public destruct() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:794
- ⧉public getPrefixGroupedUserFunctions($prefixes = array()): array Gets all user functions grouped by the word before the first underscore.
/** * Gets all user functions grouped by the word before the first underscore. * * @param $prefixes * An array of function prefixes by which the list can be limited. * * @return array * Functions grouped by the first prefix. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:809
- ⧉protected init($theme_name = null) Initializes a theme with a certain name.
/** * Initializes a theme with a certain name. * * This function does to much magic, so it should be replaced by another * services which holds the current active theme information. * * @param string $theme_name * (optional) The name of the theme for which to construct the registry. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:208
- ⧉protected setCache() Persists the theme registry in the cache backend.
/** * Persists the theme registry in the cache backend. */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:268
- ⧉protected build(): \Drupal\Core\Utility\ThemeRegistry Builds the theme registry cache.
/** * Builds the theme registry cache. * * Theme hook definitions are collected in the following order: * - Modules * - Base theme engines * - Base themes * - Theme engine * - Theme * * All theme hook definitions are essentially just collated and merged in the * above order. However, various extension-specific default values and * customizations are required; e.g., to record the effective file path for * theme template. Therefore, this method first collects all extensions per * type, and then dispatches the processing for each extension to * processExtension(). * * After completing the collection, modules are allowed to alter it. Lastly, * any derived and incomplete theme hook definitions that are hook suggestions * for base hooks (e.g., 'block__node' for the base hook 'block') need to be * determined based on the full registry and classified as 'base hook'. * * See the @link themeable Default theme implementations topic @endlink for * details. * * @return \Drupal\Core\Utility\ThemeRegistry * The build theme registry. * * @see hook_theme_registry_alter() */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:330
- ⧉protected processExtension(array &$cache, $name, $type, $theme, $path) Process a single implementation of hook_theme().
/** * Process a single implementation of hook_theme(). * * @param array $cache * The theme registry that will eventually be cached; It is an associative * array keyed by theme hooks, whose values are associative arrays * describing the hook: * - 'type': The passed-in $type. * - 'theme path': The passed-in $path. * - 'function': The name of the function generating output for this theme * hook. Either defined explicitly in hook_theme() or, if neither * 'function' nor 'template' is defined, then the default theme function * name is used. The default theme function name is the theme hook * prefixed by either 'theme_' for modules or '$name_' for everything * else. If 'function' is defined, 'template' is not used. * - 'template': The filename of the template generating output for this * theme hook. The template is in the directory defined by the 'path' key * of hook_theme() or defaults to "$path/templates". * - 'variables': The variables for this theme hook as defined in * hook_theme(). If there is more than one implementation and 'variables' * is not specified in a later one, then the previous definition is kept. * - 'render element': The renderable element for this theme hook as defined * in hook_theme(). If there is more than one implementation and * 'render element' is not specified in a later one, then the previous * definition is kept. * - See the @link themeable Theme system overview topic @endlink for * detailed documentation. * @param string $name * The name of the module, theme engine, base theme engine, theme or base * theme implementing hook_theme(). * @param string $type * One of 'module', 'theme_engine', 'base_theme_engine', 'theme', or * 'base_theme'. Unlike regular hooks that can only be implemented by * modules, each of these can implement hook_theme(). This function is * called in aforementioned order and new entries override older ones. For * example, if a theme hook is both defined by a module and a theme, then * the definition in the theme will be used. * @param string $theme * The actual name of theme, module, etc. that is being processed. * @param string $path * The directory where $name is. For example, modules/system or * themes/bartik. * * @see \Drupal\Core\Theme\ThemeManagerInterface::render() * @see hook_theme() * @see \Drupal\Core\Extension\ThemeHandler::listInfo() * @see twig_render_template() * * @throws \BadFunctionCallException */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:438
- ⧉protected completeSuggestion($hook, array &$cache) Completes the definition of the requested suggestion hook.
/** * Completes the definition of the requested suggestion hook. * * @param string $hook * The name of the suggestion hook to complete. * @param array $cache * The theme registry, as documented in * \Drupal\Core\Theme\Registry::processExtension(). */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:623
- ⧉protected mergePreprocessFunctions($destination_hook_name, $source_hook_name, $parent_hook, array &$cache) Merges the source hook's preprocess functions into the destination hook's.
/** * Merges the source hook's preprocess functions into the destination hook's. * * @param string $destination_hook_name * The name of the hook to merge preprocess functions to. * @param string $source_hook_name * The name of the hook to merge preprocess functions from. * @param array $parent_hook * The parent hook if it exists. Either an incomplete hook from suggestions * or a base hook. * @param array $cache * The theme registry, as documented in * \Drupal\Core\Theme\Registry::processExtension(). */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:663
- ⧉protected postProcessExtension(array &$cache, Drupal\Core\Theme\ActiveTheme $theme) Completes the theme registry adding discovered functions and hooks.
/** * Completes the theme registry adding discovered functions and hooks. * * @param array $cache * The theme registry as documented in * \Drupal\Core\Theme\Registry::processExtension(). * @param \Drupal\Core\Theme\ActiveTheme $theme * Current active theme. * * @see ::processExtension() */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:691
- ⧉protected getPath($module): string Wraps drupal_get_path().
/** * Wraps drupal_get_path(). * * @param string $module * The name of the item for which the path is requested. * * @return string */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:839
- protected singleFieldDisplays -> null
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (12)
- Properties (12)
- Available methods (33)
- ⧉protected loadedFiles -> array (167)
- activity_basics => boolean true
- activity_creator => boolean true
- activity_logger => boolean true
- activity_send => boolean true
- activity_send_email => boolean true
- activity_send_push_notification => boolean true
- activity_viewer => boolean true
- address => boolean true
- admin_toolbar => boolean true
- admin_toolbar_tools => boolean true
- advancedqueue => boolean true
- autoservices => boolean true
- better_exposed_filters => boolean true
- block => boolean true
- block_content => boolean true
- breakpoint => boolean true
- ckeditor => boolean true
- color => boolean true
- comment => boolean true
- config => boolean true
- config_filter => boolean true
- config_ignore => boolean true
- config_update => boolean true
- core_event_dispatcher => boolean true
- crop => boolean true
- datetime => boolean true
- dblog => boolean true
- devel => boolean true
- devel_kint_extras => boolean true
- dropdown => boolean true
- dynamic_entity_reference => boolean true
- dynamic_page_cache => boolean true
- editor => boolean true
- editor_advanced_link => boolean true
- entity => boolean true
- entity_access_by_field => boolean true
- entity_reference_tree => boolean true
- exif_orientation => boolean true
- field => boolean true
- field_group => boolean true
- field_ui => boolean true
- file => boolean true
- file_mdm => boolean true
- file_mdm_exif => boolean true
- file_mdm_font => boolean true
- filter => boolean true
- flag => boolean true
- font_awesome => boolean true
- form_options_attributes => boolean true
- gin_toolbar => boolean true
- ginvite => boolean true
- gnode => boolean true
- grequest => boolean true
- group => boolean true
- group_core_comments => boolean true
- gvbo => boolean true
- hook_event_dispatcher => boolean true
- image => boolean true
- image_effects => boolean true
- image_widget_crop => boolean true
- inline_form_errors => boolean true
- jquery_ui => boolean true
- jquery_ui_datepicker => boolean true
- jquery_ui_slider => boolean true
- jquery_ui_touch_punch => boolean true
- jsonapi => boolean true
- keycloak => boolean true
- keycloak_group_sync => boolean true
- keycloak_user => boolean true
- language => boolean true
- lazy => boolean true
- libraries_provider => boolean true
- libraries_provider_ui => boolean true
- like_and_dislike => boolean true
- link => boolean true
- locale => boolean true
- login_destination => boolean true
- lp_fontawesome => boolean true
- mailsystem => boolean true
- masquerade => boolean true
- media => boolean true
- media_library => boolean true
- mentions => boolean true
- menu_link_content => boolean true
- menu_ui => boolean true
- message => boolean true
- message_notify => boolean true
- node => boolean true
- openid_connect => boolean true
- options => boolean true
- override_node_options => boolean true
- path => boolean true
- path_alias => boolean true
- private_message => boolean true
- private_message_notify => boolean true
- profile => boolean true
- pwa => boolean true
- pwa_a2hs => boolean true
- pwa_extras => boolean true
- queue_ui => boolean true
- r4032login => boolean true
- redirect => boolean true
- role_delegation => boolean true
- search_api => boolean true
- search_api_db => boolean true
- select2 => boolean true
- serialization => boolean true
- smart_trim => boolean true
- social_activity => boolean true
- social_advanced_queue => boolean true
- social_comment => boolean true
- social_comment_upload => boolean true
- social_core => boolean true
- social_editor => boolean true
- social_event => boolean true
- social_event_invite => boolean true
- social_event_managers => boolean true
- social_file_private => boolean true
- social_follow_content => boolean true
- social_font => boolean true
- social_footer => boolean true
- social_group_gvbo => boolean true
- social_group_invite => boolean true
- social_lets_connect => boolean true
- social_lets_connect_contact => boolean true
- social_lets_connect_usage => boolean true
- social_like => boolean true
- social_mentions => boolean true
- social_node => boolean true
- social_page => boolean true
- social_post => boolean true
- social_post_album => boolean true
- social_post_photo => boolean true
- social_profile => boolean true
- social_queue_storage => boolean true
- social_search => boolean true
- social_swiftmail => boolean true
- social_topic => boolean true
- social_user => boolean true
- sso_profile_sync => boolean true
- swiftmailer => boolean true
- system => boolean true
- taxonomy => boolean true
- telephone => boolean true
- template_suggestions_extra => boolean true
- text => boolean true
- token => boolean true
- toolbar => boolean true
- twig_tweak => boolean true
- ultimate_cron => boolean true
- update => boolean true
- update_helper => boolean true
- user => boolean true
- variationcache => boolean true
- views_bulk_operations => boolean true
- views_infinite_scroll => boolean true
- views_ui => boolean true
- votingapi => boolean true
- votingapi_widgets => boolean true
- social_private_message => boolean true
- social_group => boolean true
- social_group_flexible_group => boolean true
- social_group_request => boolean true
- content_translation => boolean true
- views => boolean true
- improved_theme_settings => boolean true
- social => boolean true
- ⧉protected moduleList -> array (167)
- ⧉activity_basics => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉activity_creator => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉activity_logger => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉activity_send => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉activity_send_email => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉activity_send_push_notification => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉activity_viewer => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉address => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉admin_toolbar => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉admin_toolbar_tools => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉advancedqueue => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉autoservices => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉better_exposed_filters => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉block => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉block_content => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉breakpoint => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉ckeditor => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉color => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉comment => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉config => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉config_filter => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉config_ignore => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉config_update => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉core_event_dispatcher => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉crop => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉datetime => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉dblog => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉devel => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉devel_kint_extras => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉dropdown => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉dynamic_entity_reference => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉dynamic_page_cache => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉editor => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉editor_advanced_link => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉entity => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉entity_access_by_field => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉entity_reference_tree => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉exif_orientation => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉field => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉field_group => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉field_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉file => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉file_mdm => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉file_mdm_exif => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉file_mdm_font => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉filter => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉flag => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉font_awesome => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉form_options_attributes => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉gin_toolbar => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉ginvite => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉gnode => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉grequest => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉group => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉group_core_comments => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉gvbo => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉hook_event_dispatcher => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉image => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉image_effects => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉image_widget_crop => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉inline_form_errors => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉jquery_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉jquery_ui_datepicker => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉jquery_ui_slider => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉jquery_ui_touch_punch => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉jsonapi => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉keycloak => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉keycloak_group_sync => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉keycloak_user => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉language => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉lazy => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉libraries_provider => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉libraries_provider_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉like_and_dislike => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉link => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉locale => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉login_destination => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉lp_fontawesome => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉mailsystem => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉masquerade => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉media => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉media_library => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉mentions => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉menu_link_content => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉menu_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉message => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉message_notify => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉node => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉openid_connect => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉options => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉override_node_options => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉path => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉path_alias => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉private_message => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉private_message_notify => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉profile => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉pwa => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉pwa_a2hs => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉pwa_extras => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉queue_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉r4032login => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉redirect => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉role_delegation => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉search_api => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉search_api_db => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉select2 => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉serialization => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉smart_trim => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_activity => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_advanced_queue => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_comment => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_comment_upload => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_core => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_editor => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_event => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_event_invite => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_event_managers => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_file_private => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_follow_content => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_font => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_footer => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_group_gvbo => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_group_invite => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_lets_connect => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_lets_connect_contact => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_lets_connect_usage => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_like => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_mentions => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_node => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_page => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_post => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_post_album => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_post_photo => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_profile => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_queue_storage => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_search => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_swiftmail => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_topic => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_user => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉sso_profile_sync => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉swiftmailer => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉system => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉taxonomy => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉telephone => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉template_suggestions_extra => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉text => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉token => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉toolbar => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉twig_tweak => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉ultimate_cron => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉update => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉update_helper => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉user => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉variationcache => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views_bulk_operations => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views_infinite_scroll => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉votingapi => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉votingapi_widgets => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_private_message => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_group => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_group_flexible_group => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social_group_request => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉content_translation => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉improved_theme_settings => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉social => Drupal\Core\Extension\Extension (5) Depth Limit
- protected loaded -> boolean true
- ⧉protected implementations -> array (1080) Blacklisted
- ⧉protected verified -> array (14)
- social_group_types_alter => boolean true
- entity_load => boolean true
- user_role_load => boolean true
- language_types_info => boolean true
- language_types_info_alter => boolean true
- entity_preload => boolean true
- user_load => boolean true
- node_load => boolean true
- group_content_type_load => boolean true
- entity_view_mode_alter => boolean true
- node_build_defaults_alter => boolean true
- entity_build_defaults_alter => boolean true
- module_implements_alter => boolean true
- flag_load => boolean true
- protected hookInfo -> null
- ⧉protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend (5)
- Properties (5)
- Available methods (20)
- Static class properties (3)
- protected maxRows -> integer 5000
- protected bin -> string (15) "cache_bootstrap"
- ⧉protected connection -> Drupal\Core\Database\Driver\mysql\Connection (25) Depth Limit
- ⧉protected checksumProvider -> Drupal\Core\Cache\DatabaseCacheTagsChecksum (5) Depth Limit
- public _serviceId -> string (15) "cache.bootstrap"
- ⧉public __construct(Drupal\Core\Database\Connection $connection, Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider, $bin, $max_rows = null) Constructs a DatabaseBackend object.
/** * Constructs a DatabaseBackend object. * * @param \Drupal\Core\Database\Connection $connection * The database connection. * @param \Drupal\Core\Cache\CacheTagsChecksumInterface $checksum_provider * The cache tags checksum provider. * @param string $bin * The cache bin for which the object is created. * @param int $max_rows * (optional) The maximum number of rows that are allowed in this cache bin * table. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:77
- ⧉public get($cid, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:90
- ⧉public getMultiple(&$cids, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:99
- ⧉public set($cid, $data, $expire = -1, array $tags = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:176
- ⧉public setMultiple(array $items) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:189
- ⧉public delete($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:279
- ⧉public deleteMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:286
- ⧉public deleteAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:309
- ⧉public invalidate($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:326
- ⧉public invalidateMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:333
- ⧉public invalidateAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:352
- ⧉public garbageCollection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:366
- ⧉public removeBin() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:399
- ⧉public schemaDefinition() Defines the schema for the {cache_*} bin tables.
/** * Defines the schema for the {cache_*} bin tables. * * @internal */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:478
- ⧉public getMaxRows(): int The maximum number of rows that this cache bin table is allowed to store.
/** * The maximum number of rows that this cache bin table is allowed to store. * * @return int */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:544
- ⧉protected prepareItem($cache, $allow_invalid): mixed|false Prepares a cached item.
/** * Prepares a cached item. * * Checks that items are either permanent or did not expire, and unserializes * data as appropriate. * * @param object $cache * An item loaded from self::get() or self::getMultiple(). * @param bool $allow_invalid * If FALSE, the method returns FALSE if the cache item is not valid. * * @return mixed|false * The item with data unserialized as appropriate and a property indicating * whether the item is valid, or FALSE if there is no valid item to load. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:146
- ⧉protected doSetMultiple(array $items) Stores multiple items in the persistent cache.
/** * Stores multiple items in the persistent cache. * * @param array $items * An array of cache items, keyed by cid. * * @see \Drupal\Core\Cache\CacheBackendInterface::setMultiple() */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:217
- ⧉protected ensureBinExists() Check if the cache bin exists and create it if not.
/** * Check if the cache bin exists and create it if not. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:411
- ⧉protected catchException(Exception $e, $table_name = null) Act on an exception when cache might be stale.
/** * Act on an exception when cache might be stale. * * If the table does not yet exist, that's fine, but if the table exists and * yet the query failed, then the cache is stale and the exception needs to * propagate. * * @param $e * The exception. * @param string|null $table_name * The table name. Defaults to $this->bin. * * @throws \Exception */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:443
- ⧉protected normalizeCid($cid): string Normalizes a cache ID in order to comply with database limitations.
/** * Normalizes a cache ID in order to comply with database limitations. * * @param string $cid * The passed in cache ID. * * @return string * An ASCII-encoded cache ID that is at most 255 characters long. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/DatabaseBackend.php:458
- ⇄const DEFAULT_MAX_ROWS :: integer 5000\Drupal\Core\Cache\DatabaseBackend::DEFAULT_MAX_ROWS
- ⇄const MAXIMUM_NONE :: integer -1\Drupal\Core\Cache\DatabaseBackend::MAXIMUM_NONE
- ⇄const CACHE_PERMANENT :: integer -1\Drupal\Core\Cache\DatabaseBackend::CACHE_PERMANENT
- ⇄const DEFAULT_MAX_ROWS :: integer 5000
- protected cacheNeedsWriting -> boolean false
- ⧉protected alterFunctions -> array (5)
- ⧉social_group_types => array (1) Depth Limit
- ⧉language_types_info => array (2) Depth Limit
- entity_view_mode => array (0)
- ⧉node_build_defaults,entity_build_defaults => array (2) Depth Limit
- ⧉module_implements => array (7) Depth Limit
- ⧉protected root -> string (79) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- Directory (4KB)
- Contents
drwxr-xr-x 31001 1003 4KB Nov 19 15:14 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html
- ⧉protected includeFileKeys -> array (1)
- ⧉inc:token:token.tokens => string (118) "/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/h...
- File (73.14KB)
- Contents
-rwxr-xr-x 31001 1003 73.14KB Dec 04 2021 /var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html/modules/contrib/token/token.tokens.inc
/var/www/vhosts/basisnetz.org/systems/basisnetz_drupal.live.2022-01/drupal/html/modules/contrib/token/token.tokens.inc
- public _serviceId -> string (14) "module_handler"
- ⧉public __construct($root, array $module_list, Drupal\Core\Cache\CacheBackendInterface $cache_backend) Constructs a ModuleHandler object.
/** * Constructs a ModuleHandler object. * * @param string $root * The app root. * @param array $module_list * An associative array whose keys are the names of installed modules and * whose values are Extension class parameters. This is normally the * %container.modules% parameter being set up by DrupalKernel. * @param \Drupal\Core\Cache\CacheBackendInterface $cache_backend * Cache backend for storing module hook implementation information. * * @see \Drupal\Core\DrupalKernel * @see \Drupal\Core\CoreServiceProvider */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:110
- ⧉public load($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:122
- ⧉public loadAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:138
- ⧉public reload() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:150
- ⧉public isLoaded() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:158
- ⧉public getModuleList() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:165
- ⧉public getModule($name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:172
- ⧉public setModuleList(array $module_list = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:182
- ⧉public addModule($name, $path) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:192
- ⧉public addProfile($name, $path) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:199
- ⧉public buildModuleDependencies(array $modules) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:223
- ⧉public moduleExists($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:246
- ⧉public loadAllIncludes($type, $name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:253
- ⧉public loadInclude($module, $type, $name = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:262
- ⧉public getHookInfo() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:290
- ⧉public getImplementations($hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:327
- ⧉public writeCache() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:335
- ⧉public resetImplementations() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:345
- ⧉public implementsHook($module, $hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:367
- ⧉public invoke($module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:387
- ⧉public invokeAll($hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:398
- ⧉public invokeDeprecated($description, $module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:418
- ⧉public invokeAllDeprecated($description, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:427
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:455
- ⧉public alterDeprecated($description, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:546
- ⧉public getModuleDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:700
- ⧉public getName($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:711
- ⧉protected add($type, $name, $path) Adds a module or profile to the list of currently active modules.
/** * Adds a module or profile to the list of currently active modules. * * @param string $type * The extension type; either 'module' or 'profile'. * @param string $name * The module name; e.g., 'node'. * @param string $path * The module path; e.g., 'core/modules/node'. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:213
- ⧉protected buildHookInfo() Builds hook_hook_info() information.
/** * Builds hook_hook_info() information. * * @see \Drupal\Core\Extension\ModuleHandler::getHookInfo() */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:308
- ⧉protected getImplementationInfo($hook): mixed[] Provides information about modules' implementations of a hook.
/** * Provides information about modules' implementations of a hook. * * @param string $hook * The name of the hook (e.g. "help" or "menu"). * * @return mixed[] * An array whose keys are the names of the modules which are implementing * this hook and whose values are either a string identifying a file in * which the implementation is to be found, or FALSE, if the implementation * is in the module file. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:577
- ⧉protected buildImplementationInfo($hook): mixed[] Builds hook implementation information for a given hook name.
/** * Builds hook implementation information for a given hook name. * * @param string $hook * The name of the hook (e.g. "help" or "menu"). * * @return mixed[] * An array whose keys are the names of the modules which are implementing * this hook and whose values are either a string identifying a file in * which the implementation is to be found, or FALSE, if the implementation * is in the module file. * * @throws \RuntimeException * Exception thrown when an invalid implementation is added by * hook_module_implements_alter(). * * @see \Drupal\Core\Extension\ModuleHandler::getImplementationInfo() */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:623
- ⧉protected verifyImplementations(&$implementations, $hook): bool Verifies an array of implementations loaded from the cache, by including the laz...
/** * Verifies an array of implementations loaded from the cache, by including * the lazy-loaded $module.$group.inc, and checking function_exists(). * * @param string[] $implementations * Implementation "group" by module name. * @param string $hook * The hook name. * * @return bool * TRUE, if all implementations exist. * FALSE, if one or more implementations don't exist and need to be removed * from the cache. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:672
- ⧉private triggerDeprecationError($description, $hook) Triggers an E_USER_DEPRECATED error if any module implements the hook.
/** * Triggers an E_USER_DEPRECATED error if any module implements the hook. * * @param string $description * Helpful text describing what to do instead of implementing this hook. * @param string $hook * The name of the hook. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:441
- ⧉protected stringTranslation -> Drupal\Core\StringTranslation\TranslationManager (4)
- Properties (4)
- Available methods (10)
- ⧉protected translators -> array (2)
- ⧉30 => array (1) Depth Limit
- ⧉0 => array (1) Depth Limit
- protected sortedTranslators -> null
- protected defaultLangcode -> string (2) "de"
- public _serviceId -> string (18) "string_translation"
- ⧉public __construct(Drupal\Core\Language\LanguageDefault $default_language) Constructs a TranslationManager object.
/** * Constructs a TranslationManager object. * * @param \Drupal\Core\Language\LanguageDefault $default_language * The default language. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:52
- ⧉public addTranslator(Drupal\Core\StringTranslation\Translator\TranslatorInterface $translator, $priority0): $this Appends a translation system to the translation chain.
/** * Appends a translation system to the translation chain. * * @param \Drupal\Core\StringTranslation\Translator\TranslatorInterface $translator * The translation interface to be appended to the translation chain. * @param int $priority * The priority of the logger being added. * * @return $this */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:66
- ⧉public getStringTranslation($langcode, $string, $context) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:92
- ⧉public translate($string, array $args = array(), array $options = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:109
- ⧉public translateString(Drupal\Core\StringTranslation\TranslatableMarkup $translated_string) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:116
- ⧉public formatPlural($count, $singular, $plural, array $args = array(), array $options = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:152
- ⧉public setDefaultLangcode($langcode) Sets the default langcode.
/** * Sets the default langcode. * * @param string $langcode * A language code. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:162
- ⧉public reset() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:169
- ⧉protected sortTranslators(): \Drupal\Core\StringTranslation\Translator\TranslatorInterface[] Sorts translators according to priority.
/** * Sorts translators according to priority. * * @return \Drupal\Core\StringTranslation\Translator\TranslatorInterface[] * A sorted array of translator objects. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:79
- ⧉protected doTranslate($string, array $options = array()): string Translates a string to the current language or to a given language.
/** * Translates a string to the current language or to a given language. * * @param string $string * A string containing the English text to translate. * @param array $options * An associative array of additional options, with the following elements: * - 'langcode': The language code to translate to a language other than * what is used to display the page. * - 'context': The context the source string belongs to. * * @return string * The translated string. */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:134
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- ⇄⧉public buildComponents(array &$build, array $entities, array $displays, $view_mode) {@inheritdoc}$0['#pre_render'][0][0]->buildComponents(array &$build, array $entities, array $displays, $view_mode)
/** * {@inheritdoc} */ Inherited from Drupal\node\NodeViewBuilder Defined in <ROOT>/core/modules/node/src/NodeViewBuilder.php:18
- ⇄⧉public __construct(Drupal\Core\Entity\EntityTypeInterface $entity_type, Drupal\Core\Entity\EntityRepositoryInterface $entity_repository, Drupal\Core\Language\LanguageManagerInterface $language_manager, Drupal\Core\Theme\Registry $theme_registry, Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository) Constructs a new EntityViewBuilder.new \Drupal\social_node\NodeViewBuilder(Drupal\Core\Entity\EntityTypeInterface $entity_type, Drupal\Core\Entity\EntityRepositoryInterface $entity_repository, Drupal\Core\Language\LanguageManagerInterface $language_manager, Drupal\Core\Theme\Registry $theme_registry, Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository)
/** * Constructs a new EntityViewBuilder. * * @param \Drupal\Core\Entity\EntityTypeInterface $entity_type * The entity type definition. * @param \Drupal\Core\Entity\EntityRepositoryInterface $entity_repository * The entity repository service. * @param \Drupal\Core\Language\LanguageManagerInterface $language_manager * The language manager. * @param \Drupal\Core\Theme\Registry $theme_registry * The theme registry. * @param \Drupal\Core\Entity\EntityDisplayRepositoryInterface $entity_display_repository * The entity display repository. */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:97
- ⇄⧉public view(Drupal\Core\Entity\EntityInterface $entity, $view_mode = 'full', $langcode = null) {@inheritdoc}$0['#pre_render'][0][0]->view(Drupal\Core\Entity\EntityInterface $entity, $view_mode = 'full', $langcode = null)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:122
- ⇄⧉public viewMultiple(array $entities = array(), $view_mode = 'full', $langcode = null) {@inheritdoc}$0['#pre_render'][0][0]->viewMultiple(array $entities = array(), $view_mode = 'full', $langcode = null)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:145
- ⇄⧉public build(array $build): array Builds an entity's view; augments entity defaults.$0['#pre_render'][0][0]->build(array $build)
/** * Builds an entity's view; augments entity defaults. * * This function is assigned as a #pre_render callback in ::view(). * * It transforms the renderable array for a single entity to the same * structure as if we were rendering multiple entities, and then calls the * default ::buildMultiple() #pre_render callback. * * @param array $build * A renderable array containing build information and context for an entity * view. * * @return array * The updated renderable array. * * @see \Drupal\Core\Render\RendererInterface::render() */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:237
- ⇄⧉public buildMultiple(array $build_list): array Builds multiple entities' views; augments entity defaults.$0['#pre_render'][0][0]->buildMultiple(array $build_list)
/** * Builds multiple entities' views; augments entity defaults. * * This function is assigned as a #pre_render callback in ::viewMultiple(). * * By delaying the building of an entity until the #pre_render processing in * \Drupal::service('renderer')->render(), the processing cost of assembling * an entity's renderable array is saved on cache-hit requests. * * @param array $build_list * A renderable array containing build information and context for an * entity view. * * @return array * The updated renderable array. * * @see \Drupal\Core\Render\RendererInterface::render() */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:261
- ⇄⧉public getCacheTags() {@inheritdoc}$0['#pre_render'][0][0]->getCacheTags()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:395
- ⇄⧉public resetCache(array $entities = null) {@inheritdoc}$0['#pre_render'][0][0]->resetCache(array $entities = null)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:402
- ⇄⧉public viewField(Drupal\Core\Field\FieldItemListInterface $items, $display_options = array()) {@inheritdoc}$0['#pre_render'][0][0]->viewField(Drupal\Core\Field\FieldItemListInterface $items, $display_options = array())
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:447
- ⇄⧉public viewFieldItem(Drupal\Core\Field\FieldItemInterface $item, $display = array()) {@inheritdoc}$0['#pre_render'][0][0]->viewFieldItem(Drupal\Core\Field\FieldItemInterface $item, $display = array())
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:472
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:32
- ⇄⧉public setModuleHandler(Drupal\Core\Extension\ModuleHandlerInterface $module_handler): $this Sets the module handler for this handler.$0['#pre_render'][0][0]->setModuleHandler(Drupal\Core\Extension\ModuleHandlerInterface $module_handler)
/** * Sets the module handler for this handler. * * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. * * @return $this */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityHandlerBase.php:46
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:67
- ⇄⧉public setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation): $this Sets the string translation service to use.$0['#pre_render'][0][0]->setStringTranslation(Drupal\Core\StringTranslation\TranslationInterface $translation)
/** * Sets the string translation service to use. * * @param \Drupal\Core\StringTranslation\TranslationInterface $translation * The string translation service. * * @return $this */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:118
- ⧉protected getBuildDefaults(Drupal\Core\Entity\EntityInterface $entity, $view_mode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\node\NodeViewBuilder Defined in <ROOT>/core/modules/node/src/NodeViewBuilder.php:60
- ⧉protected addContextualLinks(array &$build, Drupal\Core\Entity\EntityInterface $entity) Add contextual links.
/** * Add contextual links. * * @param array $build * The render array that is being created. * @param \Drupal\Core\Entity\EntityInterface $entity * The entity to be prepared. */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:355
- ⧉protected alterBuild(array &$build, Drupal\Core\Entity\EntityInterface $entity, Drupal\Core\Entity\Display\EntityViewDisplayInterface $display, $view_mode) Specific per-entity building.
/** * Specific per-entity building. * * @param array $build * The render array that is being created. * @param \Drupal\Core\Entity\EntityInterface $entity * The entity to be prepared. * @param \Drupal\Core\Entity\Display\EntityViewDisplayInterface $display * The entity view display holding the display options configured for the * entity components. * @param string $view_mode * The view mode that should be used to prepare the entity. */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:390
- ⧉protected isViewModeCacheable($view_mode): bool Determines whether the view mode is cacheable.
/** * Determines whether the view mode is cacheable. * * @param string $view_mode * Name of the view mode that should be rendered. * * @return bool * TRUE if the view mode can be cached, FALSE otherwise. */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:435
- ⧉protected getSingleFieldDisplay($entity, $field_name, $display_options): \Drupal\Core\Entity\Display\EntityViewDisplayInterface Gets an EntityViewDisplay for rendering an individual field.
/** * Gets an EntityViewDisplay for rendering an individual field. * * @param \Drupal\Core\Entity\EntityInterface $entity * The entity. * @param string $field_name * The field name. * @param string|array $display_options * The display options passed to the viewField() method. * * @return \Drupal\Core\Entity\Display\EntityViewDisplayInterface */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:505
- ⧉protected moduleHandler(): \Drupal\Core\Extension\ModuleHandlerInterface Gets the module handler.
/** * Gets the module handler. * * @return \Drupal\Core\Extension\ModuleHandlerInterface * The module handler. */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityHandlerBase.php:31
- ⧉protected t($string, array $args = array(), array $options = array()): \Drupal\Core\StringTranslation\TranslatableMarkup Translates a string to the current language or to a given language.
/** * Translates a string to the current language or to a given language. * * See \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() for * important security information and usage guidelines. * * In order for strings to be localized, make them available in one of the * ways supported by the * @link https://www.drupal.org/node/322729 Localization API @endlink. When * possible, use the \Drupal\Core\StringTranslation\StringTranslationTrait * $this->t(). Otherwise create a new * \Drupal\Core\StringTranslation\TranslatableMarkup object. * * @param string $string * A string containing the English text to translate. * @param array $args * (optional) An associative array of replacements to make after * translation. Based on the first character of the key, the value is * escaped and/or themed. See * \Drupal\Component\Render\FormattableMarkup::placeholderFormat() for * details. * @param array $options * (optional) An associative array of additional options, with the following * elements: * - 'langcode' (defaults to the current language): A language code, to * translate to a language other than what is used to display the page. * - 'context' (defaults to the empty context): The context the source * string belongs to. See the * @link i18n Internationalization topic @endlink for more information * about string contexts. * * @return \Drupal\Core\StringTranslation\TranslatableMarkup * An object that, when cast to a string, returns the translated string. * * @see \Drupal\Component\Render\FormattableMarkup::placeholderFormat() * @see \Drupal\Core\StringTranslation\TranslatableMarkup::__construct() * * @ingroup sanitization */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:70
- ⧉protected formatPlural($count, $singular, $plural, array $args = array(), array $options = array()) Formats a string containing a count of items.
/** * Formats a string containing a count of items. * * @see \Drupal\Core\StringTranslation\TranslationInterface::formatPlural() */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:79
- ⧉protected getNumberOfPlurals($langcode = null) Returns the number of plurals supported by a given language.
/** * Returns the number of plurals supported by a given language. * * @see \Drupal\locale\PluralFormulaInterface::getNumberOfPlurals() */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:88
- ⧉protected getStringTranslation(): \Drupal\Core\StringTranslation\TranslationInterface Gets the string translation service.
/** * Gets the string translation service. * * @return \Drupal\Core\StringTranslation\TranslationInterface * The string translation service. */ Inherited from Drupal\Core\Entity\EntityHandlerBase Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/StringTranslationTrait.php:102
- ⇄⧉public static renderLinks($node_entity_id, $view_mode, $langcode, $is_in_preview, $revision_id = null): array #lazy_builder callback; builds a node's links.\Drupal\node\NodeViewBuilder::renderLinks($node_entity_id, $view_mode, $langcode, $is_in_preview, $revision_id = null)
/** * #lazy_builder callback; builds a node's links. * * @param string $node_entity_id * The node entity ID. * @param string $view_mode * The view mode in which the node entity is being viewed. * @param string $langcode * The language in which the node entity is being viewed. * @param bool $is_in_preview * Whether the node is currently being previewed. * @param $revision_id * (optional) The identifier of the node revision to be loaded. If none * is provided, the default revision will be loaded. * * @return array * A renderable array representing the node links. */ Inherited from Drupal\node\NodeViewBuilder Defined in <ROOT>/core/modules/node/src/NodeViewBuilder.php:89
- ⇄⧉public static trustedCallbacks() {@inheritdoc}\Drupal\node\NodeViewBuilder::trustedCallbacks()
/** * {@inheritdoc} */ Inherited from Drupal\node\NodeViewBuilder Defined in <ROOT>/core/modules/node/src/NodeViewBuilder.php:154
- ⇄⧉public static createInstance(Symfony\Component\DependencyInjection\ContainerInterface $container, Drupal\Core\Entity\EntityTypeInterface $entity_type) {@inheritdoc}\Drupal\Core\Entity\EntityViewBuilder::createInstance(Symfony\Component\DependencyInjection\ContainerInterface $container, Drupal\Core\Entity\EntityTypeInterface $entity_type)
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityViewBuilder Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityViewBuilder.php:109
- ⧉protected static buildLinks(Drupal\node\NodeInterface $entity, $view_mode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/profiles/contrib/social/modules/social_features/social_node/src/NodeViewBuilder.php:16
- ⇄⧉public buildComponents(array &$build, array $entities, array $displays, $view_mode) {@inheritdoc}
- ⇄const THROW_EXCEPTION :: string (9) "exception"\Drupal\social_node\NodeViewBuilder::THROW_EXCEPTION
- ⇄const TRIGGER_WARNING :: string (7) "warning"\Drupal\social_node\NodeViewBuilder::TRIGGER_WARNING
- ⇄const TRIGGER_SILENCED_DEPRECATION :: string (20) "silenced_deprecation"\Drupal\social_node\NodeViewBuilder::TRIGGER_SILENCED_DEPRECATION
- ⇄const THROW_EXCEPTION :: string (9) "exception"
- ⇄1 => string (5) "build"$0['#pre_render'][0][1]
- ⇄⧉0 => Drupal\social_node\NodeViewBuilder (12)
- ⇄⧉0 => array (2)
- ⇄⧉#node => Drupal\social_node\Entity\Node (29)