#rp23 08.-10. Juni 2022
Arena Berlin & Festsaal Kreuzberg
Primary tabs
Secondary tabs
Devel Render
- ⧉⌕array (6)
- ⇄⧉#node => Drupal\node\Entity\Node (29)$0['#node']
- Properties (29)
- Available methods (146)
- Static class properties (10)
- protected entityTypeId -> string (4) "node"
- protected enforceIsNew -> null
- protected typedData -> null
- ⧉protected cacheContexts -> array (1)
- 0 => string (26) "languages:language_content"
- protected cacheTags -> array (0)
- protected cacheMaxAge -> integer -1
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- ⧉protected values -> array (23)
- ⧉nid => array (1)
- x-default => string (2) "42"
- ⧉vid => array (1)
- x-default => string (2) "43"
- ⧉type => array (1)
- x-default => string (4) "page"
- ⧉uuid => array (1)
- x-default => string (36) "2055f344-15ee-496d-8436-401efc1749ea"
- ⧉langcode => array (2)
- x-default => string (2) "de"
- en => string (2) "en"
- ⧉revision_uid => array (1)
- x-default => string (1) "6"
- ⧉revision_timestamp => array (1)
- ⧉x-default => string (10) "1638799414"
2021-12-06 14:03:34 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 (2)
- x-default => string (1) "1"
- en => string (1) "1"
- ⧉uid => array (2)
- x-default => string (1) "6"
- en => string (1) "6"
- ⧉title => array (2)
- x-default => string (14) "Partner werden"
- en => string (16) "Become a partner"
- ⧉created => array (2)
- ⧉x-default => string (10) "1638799219"
2021-12-06 14:00:19 UTC
- ⧉en => string (10) "1638814233"
2021-12-06 18:10:33 UTC
- ⧉changed => array (2)
- ⧉x-default => string (10) "1638890635"
2021-12-07 15:23:55 UTC
- ⧉en => string (10) "1638890664"
2021-12-07 15:24:24 UTC
- ⧉promote => array (2)
- x-default => string (1) "0"
- en => string (1) "0"
- ⧉sticky => array (2)
- x-default => string (1) "0"
- en => string (1) "0"
- ⧉default_langcode => array (2)
- x-default => string (1) "1"
- en => string (1) "0"
- ⧉revision_translation_affected => array (2)
- x-default => string (1) "1"
- en => string (1) "1"
- ⧉content_translation_source => array (2)
- x-default => string (3) "und"
- en => string (2) "de"
- ⧉content_translation_outdated => array (2)
- x-default => string (1) "0"
- en => string (1) "0"
- ⧉body => array (2)
- ⧉x-default => array (1)
- ⧉0 => array (3)
- ⧉value => UTF-8 string (2115) "<p>Als Partner der re:publica Berlin werdet ihr als Vordenker*innen und Expe...
<p>Als Partner der re:publica Berlin werdet ihr als Vordenker*innen und Expert*innen auf eurem Gebiet sichtbar, bringt eure Themen bei Multiplikator*innen und Entscheider*innen ins Gespräch und präsentiert euch dort, wo Vertreter*innen der digitalen Gesellschaft, Innovator*innen, Unternehmer*innen, Macher*innen und Künstler*innen in einer offenen, kollaborativen Atmosphäre zusammenkommen.</p> <p>Unsere Partnerbereiche und Bühnen bieten einen perfekten Rahmen, um die wichtigsten Akteur*innen persönlich und auf Augenhöhe zu treffen, um sich zu vernetzen und auszutauschen sowie potenzielle Kooperationen anzustoßen.</p> <p>Themenvielfalt ist unsere Stärke: Medien, Politik, Wissenschaft, Technologie, Nachhaltigkeit, Musik und Kunst, Bildung, Gesundheit, Mobilität, Marketing und Social Media - alle Aspekte des digitalen, gesellschaftlichen Lebens haben ihren Platz auf der re:publica.</p> <p>Ihr wollt Teil der re:publica 22 sein und damit die inspirierendste Konferenz für die digitale Gesellschaft in Europa mitgestalten? Dann meldet euch unter <a href="mailto:partner@re-publica.com">partner@re-publica.com</a>. Wir freuen uns darauf, gemeinsam mit euch eure Ideen auszuarbeiten und individuelle Lösungen zu finden.</p> <h4><strong>Partner-Formate:</strong></h4> <ul> <li>Werdet Teil des re:publica-Programms: Panels, Talks oder individuelle Formate auf einer re:publica-Bühne</li> <li>Partner-Stände: Anlaufstelle für direkte Gespräche mit unseren Teilnehmer*innen</li> <li>Eigene Areale und Bühnen für eure Themen</li> <li>Branding-Möglichkeiten vor Ort und online</li> <li>Kommunikation unserer Partnerschaft über die reichweitenstarken Kanäle der re:publica</li> <li>Verstärkung für euer Team: Zielgruppengerechte re:cruiting-Formate</li> <li>… und viele weitere Möglichkeiten – wir sind offen für eure Ideen!</li> </ul> <h4>Unsere Partner (Auswahl aus den Vorjahren):</h4> <p><img alt="Diverse Partnerlogos" data-align="center" data-entity-type="" data-entity-uuid="" src="/sites/default/files/2021-12/rp_partner_collage_1280x720.png" /></p> <p> </p>
- summary => string (48) "Gestaltet als Partner die re:publica 22 mit uns!"
- format => string (9) "full_html"
- ⧉en => array (1)
- ⧉0 => array (3)
- ⧉value => UTF-8 string (1959) "<p>As a partner of re:publica Berlin, you will make yourself visible as a th...
<p>As a partner of re:publica Berlin, you will make yourself visible as a thought leader and expert in your field. Bring your topics to the attention of multipliers and decision-makers, and present yourself where leaders of the digital society, innovators, entrepreneurs, makers and artists come together in an open, collaborative atmosphere.</p> <p>Our partner areas and stages offer a perfect setting to meet the most important actors in person and on par with each other, to network and exchange ideas and to initiate potential collaborations.</p> <p>Our strength lies in the diversity of topics: media, politics, science, technology, sustainability, music and art, education, health, mobility, marketing and social media — all aspects of our digital society have their place at re:publica.</p> <p>Interested in being part of re:publica 22 and helping to shape the most inspiring conference for the digital society in Europe? Get in touch with us via <a href="mailto:partner@re-publica.com">partner@re-publica.com</a>. We look forward to working with you on your ideas and finding individual solutions!</p> <p><strong>Partner formats</strong></p> <ul> <li>Shape the re:publica programme: panels, talks or individual formats on stage</li> <li>Partner stands: A unique point of contact allowing you to talk directly to our participants</li> <li>Dedicated areas and stages for your topics</li> <li>Branding opportunities on-site and online</li> <li>Communicate your partnership through the high-reach channels of re:publica</li> <li>Reinforcement for your team: “re:cruiting” formats tailored to your target group</li> <li>...and many other possibilities — we are open to your ideas!</li> </ul> <h4>Former partners (excerpt):</h4> <p><img alt="Diverse Partnerlogos" data-align="center" data-entity-type="" data-entity-uuid="" src="/sites/default/files/2021-12/rp_partner_collage_1280x720.png" /></p> <p> </p>
- ⧉summary => string (105) "Become a partner of re:publica 22 and be part of Europe's most inspiring fes...
Become a partner of re:publica 22 and be part of Europe's most inspiring festival of the digital society!
- format => string (9) "full_html"
- ⧉field_image_video => array (1)
- ⧉x-default => array (1)
- ⧉0 => array (1)
- target_id => string (1) "4"
- protected fields -> array (0)
- protected fieldDefinitions -> null
- ⧉protected languages -> array (4)
- ⧉de => Drupal\Core\Language\Language (5)
- Properties (5)
- Available methods (9)
- Static class properties (16)
- protected name -> string (7) "Deutsch"
- protected id -> string (2) "de"
- protected direction -> string (3) "ltr"
- protected weight -> integer -10
- 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)
- ⧉en => Drupal\Core\Language\Language (5)
- Properties (5)
- Available methods (9)
- Static class properties (16)
- protected name -> string (8) "Englisch"
- protected id -> string (2) "en"
- protected direction -> string (3) "ltr"
- protected weight -> integer -9
- 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 (13) "Not specified"
- 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 (14) "Not applicable"
- 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 (2)
- ⧉x-default => array (1)
- status => integer 1
- ⧉en => 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) "42"
- revision => string (2) "43"
- uuid => string (36) "2055f344-15ee-496d-8436-401efc1749ea"
- ⧉protected translatableEntityKeys -> array (8)
- Table (8)
- Contents (8)
x-default en label Partner werden Become a partner langcode de en status 1 1 published 1 1 uid 6 6 owner 6 6 default_langcode 1 0 revision_translation_affected 1 1 - ⧉label => array (2)
- x-default => string (14) "Partner werden"
- en => string (16) "Become a partner"
- ⧉langcode => array (2)
- x-default => string (2) "de"
- en => string (2) "en"
- ⧉status => array (2)
- x-default => string (1) "1"
- en => string (1) "1"
- ⧉published => array (2)
- x-default => string (1) "1"
- en => string (1) "1"
- ⧉uid => array (2)
- x-default => string (1) "6"
- en => string (1) "6"
- ⧉owner => array (2)
- x-default => string (1) "6"
- en => string (1) "6"
- ⧉default_langcode => array (2)
- x-default => string (1) "1"
- en => string (1) "0"
- ⧉revision_translation_affected => array (2)
- x-default => string (1) "1"
- en => string (1) "1"
- protected validated -> boolean false
- protected validationRequired -> boolean false
- protected loadedRevisionId -> string (2) "43"
- protected revisionTranslationAffectedKey -> string (29) "revision_translation_affected"
- protected enforceRevisionTranslationAffected -> array (0)
- protected isSyncing -> boolean false
- ⇄public in_preview -> null$0['#node']->in_preview
- ⇄⧉public getOwnerId() {@inheritdoc}$0['#node']->getOwnerId()
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:48
- ⇄⧉public setOwnerId($uid) {@inheritdoc}$0['#node']->setOwnerId($uid)
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/user/src/EntityOwnerTrait.php:55
- ⇄⧉public getOwner() {@inheritdoc}$0['#node']->getOwner()
/** * {@inheritdoc} */ 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} */ 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} */ 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} */ 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} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:139
- ⇄⧉public getType() {@inheritdoc}$0['#node']->getType()
/** * {@inheritdoc} */ 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} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:193
- ⇄⧉public getTitle() {@inheritdoc}$0['#node']->getTitle()
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:201
- ⇄⧉public setTitle($title) {@inheritdoc}$0['#node']->setTitle($title)
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:208
- ⇄⧉public getCreatedTime() {@inheritdoc}$0['#node']->getCreatedTime()
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:216
- ⇄⧉public setCreatedTime($timestamp) {@inheritdoc}$0['#node']->setCreatedTime($timestamp)
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:223
- ⇄⧉public isPromoted() {@inheritdoc}$0['#node']->isPromoted()
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:231
- ⇄⧉public setPromoted($promoted) {@inheritdoc}$0['#node']->setPromoted($promoted)
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:238
- ⇄⧉public isSticky() {@inheritdoc}$0['#node']->isSticky()
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/node/src/Entity/Node.php:246
- ⇄⧉public setSticky($sticky) {@inheritdoc}$0['#node']->setSticky($sticky)
/** * {@inheritdoc} */ 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:22
- ⇄⧉public isSyncing() {@inheritdoc}$0['#node']->isSyncing()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/SynchronizableEntityTrait.php:31
- ⇄⧉public __construct(array $values, $entity_type, $bundle = false, $translations = array()) {@inheritdoc}new \Drupal\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 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:624
- ⇄⧉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:635
- ⇄⧉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:648
- ⇄⧉public getIterator() {@inheritdoc}$0['#node']->getIterator()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:662
- ⇄⧉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:669
- ⇄⧉public getFieldDefinitions() {@inheritdoc}$0['#node']->getFieldDefinitions()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:681
- ⇄⧉public toArray() {@inheritdoc}$0['#node']->toArray()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:691
- ⇄⧉public language() {@inheritdoc}$0['#node']->language()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:716
- ⇄⧉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:782
- ⇄⧉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:848
- ⇄⧉public getUntranslated() {@inheritdoc}$0['#node']->getUntranslated()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:883
- ⇄⧉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:934
- ⇄⧉public isNewTranslation() {@inheritdoc}$0['#node']->isNewTranslation()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:944
- ⇄⧉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:951
- ⇄⧉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:972
- ⇄⧉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:1001
- ⇄⧉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:1011
- ⇄⧉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:1028
- ⧉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:1048
- ⧉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:1075
- ⧉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:1109
- ⧉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:1118
- ⇄⧉public createDuplicate() {@inheritdoc}$0['#node']->createDuplicate()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1149
- ⇄⧉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:1178
- ⇄⧉public label() {@inheritdoc}$0['#node']->label()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1264
- ⇄⧉public referencedEntities() {@inheritdoc}$0['#node']->referencedEntities()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1273
- ⇄⧉public hasTranslationChanges() {@inheritdoc}$0['#node']->hasTranslationChanges()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1413
- ⇄⧉public isDefaultTranslationAffectedOnly() {@inheritdoc}$0['#node']->isDefaultTranslationAffectedOnly()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1472
- ⇄⧉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:33
- ⇄⧉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:74
- ⇄⧉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 toUrl($rel = 'canonical', array $options = array()) {@inheritdoc}$0['#node']->toUrl($rel = 'canonical', array $options = array())
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:159
- ⇄⧉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:633
- ⇄⧉public getConfigDependencyName() {@inheritdoc}$0['#node']->getConfigDependencyName()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:640
- ⇄⧉public getConfigTarget() {@inheritdoc}$0['#node']->getConfigTarget()
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityBase.php:647
- ⧉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:738
- ⧉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:771
- ⧉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:901
- ⧉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:1300
- ⧉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:1402
- ⧉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. */ 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. */ 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} */ 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} */ 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} */ 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 create(array $values = array()) {@inheritdoc}\Drupal\Core\Entity\ContentEntityBase::create(array $values = array())
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\ContentEntityBase Defined in <ROOT>/core/lib/Drupal/Core/Entity/ContentEntityBase.php:1132
- ⇄⧉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:1392
- ⇄⧉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
- ⧉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 getOwnerId() {@inheritdoc}
- protected static $fieldsToSkipFromTranslationChangesCheck :: array (0)
- ⇄const TRANSLATION_REMOVED :: integer 0\Drupal\node\Entity\Node::TRANSLATION_REMOVED
- ⇄const TRANSLATION_EXISTING :: integer 1\Drupal\node\Entity\Node::TRANSLATION_EXISTING
- ⇄const TRANSLATION_CREATED :: integer 2\Drupal\node\Entity\Node::TRANSLATION_CREATED
- ⇄const NOT_PUBLISHED :: integer 0\Drupal\node\Entity\Node::NOT_PUBLISHED
- ⇄const PUBLISHED :: integer 1\Drupal\node\Entity\Node::PUBLISHED
- ⇄const NOT_PROMOTED :: integer 0\Drupal\node\Entity\Node::NOT_PROMOTED
- ⇄const PROMOTED :: integer 1\Drupal\node\Entity\Node::PROMOTED
- ⇄const NOT_STICKY :: integer 0\Drupal\node\Entity\Node::NOT_STICKY
- ⇄const STICKY :: integer 1\Drupal\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 (9) "node_view"$0['#cache']['tags'][0]
- ⇄1 => string (7) "node:42"$0['#cache']['tags'][1]
- ⇄0 => string (9) "node_view"
- ⇄⧉contexts => array (2)$0['#cache']['contexts']
- ⇄0 => string (26) "languages:language_content"$0['#cache']['contexts'][0]
- ⇄1 => string (31) "route.name.is_layout_builder_ui"$0['#cache']['contexts'][1]
- ⇄0 => string (26) "languages:language_content"
- ⇄max-age => integer -1$0['#cache']['max-age']
- ⇄⧉keys => array (5)$0['#cache']['keys']
- ⇄0 => string (11) "entity_view"$0['#cache']['keys'][0]
- ⇄1 => string (4) "node"$0['#cache']['keys'][1]
- ⇄2 => string (2) "42"$0['#cache']['keys'][2]
- ⇄3 => string (4) "full"$0['#cache']['keys'][3]
- ⇄4 => string (2) "de"$0['#cache']['keys'][4]
- ⇄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\node\NodeViewBuilder (12)$0['#pre_render'][0][0]
- Properties (12)
- Available methods (28)
- Static class properties (3)
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (11)
- Properties (11)
- Available methods (35)
- ⧉protected loadedFiles -> array (115)
- admin_toolbar => boolean true
- admin_toolbar_links_access_filter => boolean true
- admin_toolbar_search => boolean true
- admin_toolbar_tools => boolean true
- ban => boolean true
- better_exposed_filters => boolean true
- block => boolean true
- block_content => boolean true
- breakpoint => boolean true
- ckeditor => boolean true
- ckeditor_bs_grid => boolean true
- ckwordcount => boolean true
- comment => boolean true
- config => boolean true
- config_translation => boolean true
- contextual => boolean true
- csv_serialization => boolean true
- ctools => boolean true
- datetime => boolean true
- dblog => boolean true
- devel => boolean true
- devel_kint_extras => boolean true
- dynamic_page_cache => boolean true
- editor => boolean true
- entityqueue => boolean true
- field => boolean true
- field_group => boolean true
- field_tools => boolean true
- field_ui => boolean true
- file => boolean true
- filter => boolean true
- form_price_calc => boolean true
- geocoder => boolean true
- geocoder_field => boolean true
- geocoder_geofield => boolean true
- geofield => boolean true
- geofield_map => boolean true
- help => boolean true
- image => boolean true
- inline_form_errors => boolean true
- jquery_ui => boolean true
- jquery_ui_accordion => boolean true
- jquery_ui_datepicker => boolean true
- jquery_ui_slider => boolean true
- jquery_ui_touch_punch => boolean true
- language => boolean true
- layout_builder => boolean true
- layout_discovery => boolean true
- leaflet => boolean true
- link => boolean true
- locale => boolean true
- matomo => boolean true
- maxlength => boolean true
- media => boolean true
- media_library => boolean true
- menu_link_content => boolean true
- menu_ui => boolean true
- metatag => boolean true
- metatag_facebook => boolean true
- metatag_open_graph => boolean true
- metatag_twitter_cards => boolean true
- metatag_verification => boolean true
- metatag_webform => boolean true
- mysql => boolean true
- node => boolean true
- notification => boolean true
- options => boolean true
- page_cache => boolean true
- path => boolean true
- path_alias => boolean true
- rate => boolean true
- redirect => boolean true
- responsive_image => boolean true
- rest => boolean true
- rp_backend_schedule => boolean true
- rp_curation => boolean true
- rp_extapp => boolean true
- rp_fields => boolean true
- rp_horical => boolean true
- rp_matomo => boolean true
- rp_menus => boolean true
- rp_overlay => boolean true
- rp_rights => boolean true
- rp_session => boolean true
- rp_user => boolean true
- rp_utils => boolean true
- rp_vertical => boolean true
- rp_webform => boolean true
- serialization => boolean true
- syslog => boolean true
- system => boolean true
- taxonomy => boolean true
- telephone => boolean true
- text => boolean true
- token => boolean true
- toolbar => boolean true
- toolbar_menu => boolean true
- update => boolean true
- user => boolean true
- views_accordion => boolean true
- views_bulk_operations => boolean true
- views_data_export => boolean true
- views_send => boolean true
- views_ui => boolean true
- votingapi => boolean true
- webform => boolean true
- webform_options_limit => boolean true
- webform_ui => boolean true
- webform_views => boolean true
- workflows => boolean true
- pathauto => boolean true
- content_translation => boolean true
- views => boolean true
- minimal => boolean true
- eu_cookie_compliance => boolean true
- ⧉protected moduleList -> array (115)
- ⧉admin_toolbar => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉admin_toolbar_links_access_filter => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉admin_toolbar_search => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉admin_toolbar_tools => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉ban => 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
- ⧉ckeditor_bs_grid => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉ckwordcount => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉comment => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉config => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉config_translation => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉contextual => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉csv_serialization => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉ctools => 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
- ⧉dynamic_page_cache => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉editor => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉entityqueue => 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_tools => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉field_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉file => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉filter => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉form_price_calc => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉geocoder => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉geocoder_field => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉geocoder_geofield => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉geofield => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉geofield_map => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉help => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉image => 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_accordion => 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
- ⧉language => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉layout_builder => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉layout_discovery => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉leaflet => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉link => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉locale => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉matomo => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉maxlength => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉media => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉media_library => 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
- ⧉metatag => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉metatag_facebook => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉metatag_open_graph => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉metatag_twitter_cards => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉metatag_verification => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉metatag_webform => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉mysql => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉node => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉notification => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉options => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉page_cache => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉path => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉path_alias => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rate => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉redirect => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉responsive_image => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rest => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_backend_schedule => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_curation => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_extapp => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_fields => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_horical => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_matomo => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_menus => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_overlay => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_rights => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_session => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_user => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_utils => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_vertical => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉rp_webform => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉serialization => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉syslog => 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
- ⧉text => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉token => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉toolbar => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉toolbar_menu => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉update => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉user => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views_accordion => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views_bulk_operations => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views_data_export => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views_send => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉votingapi => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉webform => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉webform_options_limit => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉webform_ui => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉webform_views => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉workflows => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉pathauto => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉content_translation => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉views => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉minimal => Drupal\Core\Extension\Extension (5) Depth Limit
- ⧉eu_cookie_compliance => Drupal\Core\Extension\Extension (5) Depth Limit
- protected loaded -> boolean true
- ⧉protected implementations -> array (393)
- ⧉module_implements_alter => array (6) Depth Limit
- entity_load => array (0)
- user_role_load => array (0)
- language_types_info => array (0)
- ⧉language_types_info_alter => array (2) Depth Limit
- entity_preload => array (0)
- query_alter => array (0)
- query_user_load_multiple_alter => array (0)
- ⧉entity_storage_load => array (1) Depth Limit
- user_storage_load => array (0)
- user_load => array (0)
- node_load => array (0)
- ⧉entity_access => array (1) Depth Limit
- ⧉node_access => array (2) Depth Limit
- node_grants => array (0)
- entity_view_mode_alter => array (0)
- node_build_defaults_alter => array (0)
- ⧉entity_build_defaults_alter => array (1) Depth Limit
- entity_view_display_load => array (0)
- ⧉entity_view_display_alter => array (1) Depth Limit
- entity_prepare_view => array (0)
- ⧉entity_field_access => array (5) Depth Limit
- entity_field_access_alter => array (0)
- media_load => array (0)
- media_access => array (0)
- media_build_defaults_alter => array (0)
- user_access => array (0)
- date_format_load => array (0)
- entity_display_build_alter => array (0)
- node_view => array (0)
- ⧉entity_view => array (2) Depth Limit
- ⧉node_view_alter => array (1) Depth Limit
- ⧉entity_view_alter => array (3) Depth Limit
- metatag_defaults_load => array (0)
- ⧉metatags_alter => array (1) Depth Limit
- ⧉tokens => array (16) Depth Limit
- token_entity_mapping_alter => array (0)
- tokens_alter => array (0)
- entity_view_display_create => array (0)
- entity_create => array (0)
- ⧉field_info_max_weight => array (1) Depth Limit
- file_load => array (0)
- theme_suggestions_image_formatter => array (0)
- ⧉theme_suggestions_alter => array (2) Depth Limit
- theme_suggestions_image_formatter_alter => array (0)
- ⧉template_preprocess_default_variables_alter => array (1) Depth Limit
- theme_suggestions_image => array (0)
- theme_suggestions_image_alter => array (0)
- file_url_alter => array (0)
- filter_format_load => array (0)
- ⧉theme_suggestions_field => array (1) Depth Limit
- ⧉theme_suggestions_field_alter => array (1) Depth Limit
- ⧉theme_suggestions_node => array (1) Depth Limit
- ⧉theme_suggestions_node_alter => array (1) Depth Limit
- theme_suggestions_username => array (0)
- theme_suggestions_username_alter => array (0)
- ⧉user_format_name_alter => array (1) Depth Limit
- node_type_load => array (0)
- ⧉node_links_alter => array (1) Depth Limit
- theme_suggestions_links => array (0)
- theme_suggestions_links_alter => array (0)
- responsive_image_style_load => array (0)
- image_style_load => array (0)
- media_view => array (0)
- media_view_alter => array (0)
- ⧉theme_suggestions_media => array (1) Depth Limit
- media_type_load => array (0)
- theme_suggestions_media_alter => array (0)
- theme_suggestions_responsive_image_formatter => array (0)
- theme_suggestions_responsive_image_formatter_alter => array (0)
- theme_suggestions_responsive_image => array (0)
- theme_suggestions_responsive_image_alter => array (0)
- file_mimetype_mapping_alter => array (0)
- block_load => array (0)
- block_access => array (0)
- block_content_load => array (0)
- ⧉block_content_access => array (1) Depth Limit
- block_build_alter => array (0)
- block_build_system_menu_block_alter => array (0)
- block_build_language_block_alter => array (0)
- block_build_system_branding_block_alter => array (0)
- block_build_block_content_alter => array (0)
- block_build_local_actions_block_alter => array (0)
- block_build_system_messages_block_alter => array (0)
- block_build_local_tasks_block_alter => array (0)
- block_build_page_title_block_alter => array (0)
- ⧉block_view_alter => array (1) Depth Limit
- block_view_page_title_block_alter => array (0)
- block_build_system_main_block_alter => array (0)
- ⧉block_view_system_main_block_alter => array (1) Depth Limit
- ⧉page_attachments => array (7) Depth Limit
- metatags_attachments_alter => array (0)
- eu_cookie_compliance_path_match_alter => array (0)
- eu_cookie_compliance_geoip_match_alter => array (0)
- eu_cookie_compliance_show_popup_alter => array (0)
- eu_cookie_compliance_cid_alter => array (0)
- theme_suggestions_eu_cookie_compliance_popup_info => array (0)
- theme_suggestions_eu_cookie_compliance_popup_info_alter => array (0)
- theme_suggestions_eu_cookie_compliance_withdraw => array (0)
- theme_suggestions_eu_cookie_compliance_withdraw_alter => array (0)
- ⧉page_attachments_alter => array (4) Depth Limit
- ⧉page_top => array (6) Depth Limit
- page_bottom => array (0)
- ⧉theme_suggestions_html => array (1) Depth Limit
- theme_suggestions_html_alter => array (0)
- ⧉theme_suggestions_page => array (1) Depth Limit
- theme_suggestions_page_alter => array (0)
- ⧉block_view_system_menu_block_alter => array (1) Depth Limit
- ⧉theme_suggestions_block => array (1) Depth Limit
- theme_suggestions_block_alter => array (0)
- theme_suggestions_menu => array (0)
- theme_suggestions_menu_alter => array (0)
- link_alter => array (0)
- block_view_system_branding_block_alter => array (0)
- block_view_block_content_alter => array (0)
- block_content_build_defaults_alter => array (0)
- block_content_view => array (0)
- block_content_view_alter => array (0)
- ⧉theme_suggestions_region => array (1) Depth Limit
- theme_suggestions_region_alter => array (0)
- menu_link_content_load => array (0)
- ⧉language_fallback_candidates_entity_view_alter => array (1) Depth Limit
- language_fallback_candidates_alter => array (0)
- language_content_settings_load => array (0)
- language_fallback_candidates_entity_upcast_alter => array (0)
- block_view_local_actions_block_alter => array (0)
- block_view_system_messages_block_alter => array (0)
- block_view_local_tasks_block_alter => array (0)
- theme_suggestions_page_title => array (0)
- theme_suggestions_page_title_alter => array (0)
- theme_suggestions_off_canvas_page_wrapper => array (0)
- theme_suggestions_off_canvas_page_wrapper_alter => array (0)
- block_view_language_block_alter => array (0)
- configurable_language_load => array (0)
- ⧉language_switch_links_alter => array (1) Depth Limit
- ⧉js_settings_alter => array (3) Depth Limit
- view_load => array (0)
- views_pre_view => array (0)
- views_pre_build => array (0)
- ⧉views_query_alter => array (3) Depth Limit
- ⧉views_query_substitutions => array (4) Depth Limit
- views_post_build => array (0)
- views_pre_execute => array (0)
- ⧉query_views_alter => array (1) Depth Limit
- query_views_news_alter => array (0)
- views_post_execute => array (0)
- ⧉views_pre_render => array (8) Depth Limit
- ⧉views_post_render => array (1) Depth Limit
- taxonomy_term_load => array (0)
- taxonomy_term_access => array (0)
- taxonomy_term_build_defaults_alter => array (0)
- ⧉field_group_build_pre_render_alter => array (1) Depth Limit
- field_group_content_element_keys_alter => array (0)
- theme_suggestions_layout => array (0)
- theme_suggestions_layout_alter => array (0)
- theme_suggestions_views_view => array (0)
- theme_suggestions_views_view_alter => array (0)
- theme_suggestions_views_view_grid => array (0)
- theme_suggestions_views_view_grid_alter => array (0)
- theme_suggestions_container => array (0)
- ⧉theme_suggestions_container_alter => array (1) Depth Limit
- taxonomy_term_view => array (0)
- taxonomy_term_view_alter => array (0)
- ⧉theme_suggestions_taxonomy_term => array (1) Depth Limit
- theme_suggestions_taxonomy_term_alter => array (0)
- entity_queue_load => array (0)
- query_entity_query_alter => array (0)
- query_entity_query_node_alter => array (0)
- ⧉menu_local_tasks_alter => array (3) Depth Limit
- rate_widget_load => array (0)
- theme_suggestions_menu_local_tasks => array (0)
- theme_suggestions_menu_local_tasks_alter => array (0)
- theme_suggestions_menu_local_task => array (0)
- theme_suggestions_menu_local_task_alter => array (0)
- ⧉cron => array (14) Depth Limit
- query_entity_query_file_alter => array (0)
- ⧉user_login => array (2) Depth Limit
- query_entity_query_taxonomy_term_alter => array (0)
- taxonomy_vocabulary_load => array (0)
- query_taxonomy_term_access_alter => array (0)
- query_term_access_alter => array (0)
- ⧉system_info_alter => array (1) Depth Limit
- update_projects_alter => array (0)
- update_status_alter => array (0)
- block_build_views_block_alter => array (0)
- block_view_views_block_alter => array (0)
- user_build_defaults_alter => array (0)
- ⧉user_view => array (1) Depth Limit
- ⧉user_view_alter => array (1) Depth Limit
- theme_suggestions_user => array (0)
- theme_suggestions_user_alter => array (0)
- query_views_sessions_of_speaker_alter => array (0)
- query_user_access_alter => array (0)
- theme_suggestions_views_view_unformatted => array (0)
- theme_suggestions_views_view_unformatted_alter => array (0)
- theme_suggestions_time => array (0)
- theme_suggestions_time_alter => array (0)
- ⧉query_node_access_alter => array (1) Depth Limit
- query_views_sessions_alter => array (0)
- theme_suggestions_views_mini_pager => array (0)
- theme_suggestions_views_mini_pager_alter => array (0)
- media_type_access => array (0)
- metatag_route_entity => array (0)
- query_menu_link_content_access_alter => array (0)
- query_entity_query_menu_link_content_alter => array (0)
- menu_load => array (0)
- language_fallback_candidates_node_tokens_alter => array (0)
- theme_suggestions_table => array (0)
- theme_suggestions_table_alter => array (0)
- theme_suggestions_image_style => array (0)
- theme_suggestions_image_style_alter => array (0)
- ⧉form_alter => array (11) Depth Limit
- ⧉form_user_login_form_alter => array (1) Depth Limit
- theme_suggestions_input => array (0)
- theme_suggestions_input_alter => array (0)
- ⧉theme_suggestions_form_element => array (1) Depth Limit
- ⧉theme_suggestions_form_element_alter => array (1) Depth Limit
- theme_suggestions_form_element_label => array (0)
- theme_suggestions_form_element_label_alter => array (0)
- theme_suggestions_form => array (0)
- theme_suggestions_form_alter => array (0)
- theme_suggestions_file_link => array (0)
- theme_suggestions_file_link_alter => array (0)
- user_field_values_init => array (0)
- entity_field_values_init => array (0)
- user_create => array (0)
- entity_form_mode_alter => array (0)
- entity_form_display_load => array (0)
- entity_form_display_alter => array (0)
- entity_prepare_form => array (0)
- user_prepare_form => array (0)
- entity_create_access => array (0)
- user_create_access => array (0)
- ⧉form_user_form_alter => array (1) Depth Limit
- ⧉form_user_register_form_alter => array (1) Depth Limit
- ⧉field_group_form_process => array (1) Depth Limit
- field_group_form_process_alter => array (0)
- ⧉field_group_form_process_build_alter => array (1) Depth Limit
- theme_suggestions_fieldset => array (0)
- theme_suggestions_fieldset_alter => array (0)
- query_node_load_multiple_alter => array (0)
- query_term_node_count_alter => array (0)
- query_vocabulary_node_count_alter => array (0)
- query_vocabulary_term_count_alter => array (0)
- query_entity_query_media_alter => array (0)
- entity_view_mode_load => array (0)
- node_storage_load => array (0)
- taxonomy_vocabulary_access => array (0)
- language_fallback_candidates_locale_lookup_alter => array (0)
- form_user_pass_alter => array (0)
- menu_access => array (0)
- menu_link_content_access => array (0)
- theme_suggestions_pager => array (0)
- theme_suggestions_pager_alter => array (0)
- better_exposed_filters_options_alter => array (0)
- ⧉form_views_exposed_form_alter => array (3) Depth Limit
- query_views_faq_alter => array (0)
- entity_subqueue_load => array (0)
- theme_suggestions_views_view_field => array (0)
- theme_suggestions_views_view_field_alter => array (0)
- theme_suggestions_views_exposed_form => array (0)
- theme_suggestions_views_exposed_form_alter => array (0)
- theme_suggestions_bef_radios => array (0)
- theme_suggestions_bef_radios_alter => array (0)
- ⧉theme_suggestions_radios => array (1) Depth Limit
- theme_suggestions_radios_alter => array (0)
- theme_suggestions_views_accordion_view => array (0)
- theme_suggestions_views_accordion_view_alter => array (0)
- theme_suggestions_views_view_fields => array (0)
- theme_suggestions_views_view_fields_alter => array (0)
- query_entity_query_user_alter => array (0)
- theme_suggestions_item_list => array (0)
- theme_suggestions_item_list_alter => array (0)
- theme_suggestions_status_messages => array (0)
- theme_suggestions_status_messages_alter => array (0)
- ⧉css_alter => array (1) Depth Limit
- ⧉js_alter => array (3) Depth Limit
- ⧉js_settings_build => array (1) Depth Limit
- ⧉toolbar => array (6) Depth Limit
- comment_type_load => array (0)
- toolbar_menu_element_load => array (0)
- ⧉toolbar_alter => array (4) Depth Limit
- theme_suggestions_toolbar => array (0)
- theme_suggestions_toolbar_alter => array (0)
- contextual_links_alter => array (0)
- ⧉contextual_links_view_alter => array (4) Depth Limit
- view_access => array (0)
- block_content_prepare_form => array (0)
- ⧉field_widget_form_alter => array (1) Depth Limit
- field_widget_text_textarea_with_summary_form_alter => array (0)
- ⧉field_widget_single_element_form_alter => array (2) Depth Limit
- field_widget_single_element_text_textarea_with_summary_form_alter => array (0)
- field_widget_multivalue_form_alter => array (0)
- field_widget_multivalue_text_textarea_with_summary_form_alter => array (0)
- ⧉field_widget_complete_form_alter => array (1) Depth Limit
- field_widget_complete_text_textarea_with_summary_form_alter => array (0)
- field_widget_string_textfield_form_alter => array (0)
- field_widget_single_element_string_textfield_form_alter => array (0)
- field_widget_multivalue_string_textfield_form_alter => array (0)
- field_widget_complete_string_textfield_form_alter => array (0)
- field_widget_language_select_form_alter => array (0)
- field_widget_single_element_language_select_form_alter => array (0)
- field_widget_multivalue_language_select_form_alter => array (0)
- field_widget_complete_language_select_form_alter => array (0)
- field_widget_string_textarea_form_alter => array (0)
- field_widget_single_element_string_textarea_form_alter => array (0)
- field_widget_multivalue_string_textarea_form_alter => array (0)
- field_widget_complete_string_textarea_form_alter => array (0)
- block_content_type_load => array (0)
- form_block_content_form_alter => array (0)
- form_block_content_simple_block_edit_form_alter => array (0)
- filter_format_access => array (0)
- theme_suggestions_field_multiple_value_form => array (0)
- theme_suggestions_field_multiple_value_form_alter => array (0)
- editor_load => array (0)
- ⧉ckeditor_css_alter => array (1) Depth Limit
- editor_js_settings_alter => array (0)
- theme_suggestions_textarea => array (0)
- theme_suggestions_textarea_alter => array (0)
- theme_suggestions_select => array (0)
- theme_suggestions_select_alter => array (0)
- theme_suggestions_filter_guidelines => array (0)
- theme_suggestions_filter_guidelines_alter => array (0)
- theme_suggestions_filter_tips => array (0)
- theme_suggestions_filter_tips_alter => array (0)
- theme_suggestions_text_format_wrapper => array (0)
- theme_suggestions_text_format_wrapper_alter => array (0)
- theme_suggestions_details => array (0)
- theme_suggestions_details_alter => array (0)
- theme_suggestions_vertical_tabs => array (0)
- theme_suggestions_vertical_tabs_alter => array (0)
- block_build_system_breadcrumb_block_alter => array (0)
- block_build_help_block_alter => array (0)
- block_view_system_breadcrumb_block_alter => array (0)
- ⧉system_breadcrumb_alter => array (2) Depth Limit
- theme_suggestions_breadcrumb => array (0)
- theme_suggestions_breadcrumb_alter => array (0)
- query_entity_query_block_content_alter => array (0)
- ⧉block_view_help_block_alter => array (1) Depth Limit
- ⧉help => array (80) Depth Limit
- query_views_block_content_alter => array (0)
- query_block_content_access_alter => array (0)
- block_content_type_access => array (0)
- ⧉entity_operation => array (6) Depth Limit
- entity_operation_alter => array (0)
- theme_suggestions_dropbutton_wrapper => array (0)
- theme_suggestions_dropbutton_wrapper_alter => array (0)
- theme_suggestions_views_view_table => array (0)
- theme_suggestions_views_view_table_alter => array (0)
- theme_suggestions_tablesort_indicator => array (0)
- theme_suggestions_tablesort_indicator_alter => array (0)
- theme_suggestions_menu_local_action => array (0)
- theme_suggestions_menu_local_action_alter => array (0)
- form_block_admin_display_form_alter => array (0)
- block_prepare_form => array (0)
- plugin_filter_condition_alter => array (0)
- plugin_filter_condition__block_ui_alter => array (0)
- webform_load => array (0)
- webform_options_alter => array (0)
- webform_libraries_info => array (0)
- webform_libraries_info_alter => array (0)
- webform_element_default_properties_alter => array (0)
- ⧉form_block_form_alter => array (1) Depth Limit
- theme_suggestions_token_tree_link => array (0)
- theme_suggestions_token_tree_link_alter => array (0)
- ⧉theme_suggestions_checkboxes => array (1) Depth Limit
- theme_suggestions_checkboxes_alter => array (0)
- theme_suggestions_webform_html_editor_markup => array (0)
- theme_suggestions_webform_html_editor_markup_alter => array (0)
- theme_suggestions_webform_message => array (0)
- theme_suggestions_webform_message_alter => array (0)
- block_presave => array (0)
- ⧉entity_presave => array (5) Depth Limit
- block_update => array (0)
- ⧉entity_update => array (4) Depth Limit
- block_alter => array (0)
- theme_suggestions_block_content_add_list => array (0)
- theme_suggestions_block_content_add_list_alter => array (0)
- block_content_field_values_init => array (0)
- block_content_create => array (0)
- form_block_content_simple_block_form_alter => array (0)
- ⧉query_entity_reference_alter => array (3) Depth Limit
- block_content_presave => array (0)
- block_content_insert => array (0)
- ⧉entity_insert => array (4) Depth Limit
- query_block_content_load_multiple_alter => array (0)
- block_content_storage_load => array (0)
- ⧉plugin_filter_block_alter => array (1) Depth Limit
- ⧉plugin_filter_block__block_ui_alter => array (1) Depth Limit
- ajax_render_alter => array (0)
- block_create => array (0)
- block_insert => array (0)
- block_content_update => array (0)
- ⧉protected verified -> array (11)
- 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
- entity_view_mode_alter => boolean true
- node_build_defaults_alter => boolean true
- entity_build_defaults_alter => boolean true
- module_implements_alter => boolean true
- protected hookInfo -> null
- ⧉protected cacheBackend -> Drupal\Core\Cache\ChainedFastBackend (4)
- Properties (4)
- Available methods (17)
- Static class properties (2)
- protected bin -> string (15) "cache_bootstrap"
- ⧉protected consistentBackend -> Drupal\Core\Cache\DatabaseBackend (4) Depth Limit
- ⧉protected fastBackend -> Drupal\Core\Cache\ApcuBackend (4) Depth Limit
- protected lastWriteTimestamp -> double 1769533045.383
- ⧉public __construct(Drupal\Core\Cache\CacheBackendInterface $consistent_backend, Drupal\Core\Cache\CacheBackendInterface $fast_backend, $bin) Constructs a ChainedFastBackend object.
/** * Constructs a ChainedFastBackend object. * * @param \Drupal\Core\Cache\CacheBackendInterface $consistent_backend * The consistent cache backend. * @param \Drupal\Core\Cache\CacheBackendInterface $fast_backend * The fast cache backend. * @param string $bin * The cache bin for which the object is created. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:91
- ⧉public get($cid, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:101
- ⧉public getMultiple(&$cids, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:110
- ⧉public set($cid, $data, $expire = -1, array $tags = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:179
- ⧉public setMultiple(array $items) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:190
- ⧉public delete($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:204
- ⧉public deleteMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:212
- ⧉public deleteAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:220
- ⧉public invalidate($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:228
- ⧉public invalidateMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:235
- ⧉public invalidateTags(array $tags) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:243
- ⧉public invalidateAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:253
- ⧉public garbageCollection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:261
- ⧉public removeBin() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:269
- ⧉public reset()
/** * @todo Document in https://www.drupal.org/node/2311945. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:277
- ⧉protected getLastWriteTimestamp() Gets the last write timestamp.
/** * Gets the last write timestamp. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:284
- ⧉protected markAsOutdated() Marks the fast cache bin as outdated because of a write.
/** * Marks the fast cache bin as outdated because of a write. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:295
- ⇄const LAST_WRITE_TIMESTAMP_PREFIX :: string (21) "last_write_timestamp_"\Drupal\Core\Cache\ChainedFastBackend::LAST_WRITE_TIMESTAMP_PREFIX
- ⇄const CACHE_PERMANENT :: integer -1\Drupal\Core\Cache\ChainedFastBackend::CACHE_PERMANENT
- ⇄const LAST_WRITE_TIMESTAMP_PREFIX :: string (21) "last_write_timestamp_"
- protected cacheNeedsWriting -> boolean false
- ⧉protected alterFunctions -> array (4)
- ⧉language_types_info => array (2) Depth Limit
- entity_view_mode => array (0)
- ⧉node_build_defaults,entity_build_defaults => array (1) Depth Limit
- ⧉module_implements => array (6) Depth Limit
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- ⧉protected includeFileKeys -> array (1)
- ⧉inc:token:token.tokens => string (55) "/html/dev/rp/web/modules/contrib/token/token.tokens.inc"
- File (68.89KB)
-rwxr-xr-x 4038207 100 68.89KB Dec 18 2020 /html/dev/rp/web/modules/contrib/token/token.tokens.inc
- ⧉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:336
- ⧉public resetImplementations() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:346
- ⧉public hasImplementations(string $hook, $modules = null): bool {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:368
- ⧉public implementsHook($module, $hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:394
- ⧉public invokeAllWith(string $hook, callable $callback): void {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:402
- ⧉public invoke($module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:412
- ⧉public invokeAll($hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:423
- ⧉public invokeDeprecated($description, $module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:440
- ⧉public invokeAllDeprecated($description, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:449
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:477
- ⧉public alterDeprecated($description, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:569
- ⧉public getModuleDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:723
- ⧉public getName($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:734
- ⧉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:600
- ⧉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:646
- ⧉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:695
- ⧉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:463
- ⧉protected stringTranslation -> Drupal\Core\StringTranslation\TranslationManager (3)
- Properties (3)
- 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 __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:87
- ⧉public translate($string, array $args = array(), array $options = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:104
- ⧉public translateString(Drupal\Core\StringTranslation\TranslatableMarkup $translated_string) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:111
- ⧉public formatPlural($count, $singular, $plural, array $args = array(), array $options = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:147
- ⧉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:157
- ⧉public reset() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/StringTranslation/TranslationManager.php:164
- ⧉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:129
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- protected entityTypeId -> string (4) "node"
- ⧉protected entityType -> Drupal\Core\Entity\ContentEntityType (40)
- Properties (40)
- Available methods (81)
- Static class properties (2)
- protected id -> string (4) "node"
- protected class -> string (23) "Drupal\node\Entity\Node"
- protected provider -> string (4) "node"
- 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 originalClass -> string (23) "Drupal\node\Entity\Node"
- ⧉protected handlers -> array (9)
- storage => string (23) "Drupal\node\NodeStorage"
- storage_schema => string (29) "Drupal\node\NodeStorageSchema"
- view_builder => string (27) "Drupal\node\NodeViewBuilder"
- access => string (36) "Drupal\node\NodeAccessControlHandler"
- views_data => string (25) "Drupal\node\NodeViewsData"
- ⧉form => array (6) Depth Limit
- ⧉route_provider => array (1) Depth Limit
- list_builder => string (27) "Drupal\node\NodeListBuilder"
- translation => string (34) "Drupal\node\NodeTranslationHandler"
- 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 string -> string (12) "Content type"
- protected arguments -> array (0)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- ⧉public __toString(): string 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:228
- ⧉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:120
- ⧉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. * Null args[] values are deprecated in Drupal 9.5 and will fail in * Drupal 11.0. 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:196
- ⧉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:269
- 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 string -> string (7) "Content"
- protected arguments -> array (0)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- ⧉public __toString(): string 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:228
- ⧉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:120
- ⧉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. * Null args[] values are deprecated in Drupal 9.5 and will fail in * Drupal 11.0. 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:196
- ⧉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:269
- ⧉protected label_collection -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected string -> string (7) "Content"
- protected arguments -> array (0)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- ⧉public __toString(): string 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:228
- ⧉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:120
- ⧉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. * Null args[] values are deprecated in Drupal 9.5 and will fail in * Drupal 11.0. 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:196
- ⧉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:269
- ⧉protected label_singular -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected string -> string (12) "content item"
- protected arguments -> array (0)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- ⧉public __toString(): string 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:228
- ⧉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:120
- ⧉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. * Null args[] values are deprecated in Drupal 9.5 and will fail in * Drupal 11.0. 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:196
- ⧉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:269
- ⧉protected label_plural -> Drupal\Core\StringTranslation\TranslatableMarkup (5)
- Properties (5)
- Available methods (14)
- protected string -> string (13) "content items"
- protected arguments -> array (0)
- protected translatedMarkup -> null
- protected options -> array (0)
- protected stringTranslation -> null
- ⧉public __toString(): string 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:228
- ⧉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:120
- ⧉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. * Null args[] values are deprecated in Drupal 9.5 and will fail in * Drupal 11.0. 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:196
- ⧉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:269
- ⧉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 string -> string (7) "Content"
- protected arguments -> array (0)
- protected translatedMarkup -> null
- ⧉protected options -> array (1) Depth Limit
- protected stringTranslation -> null
- ⧉public __toString(): string 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:228
- ⧉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:120
- ⧉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. * Null args[] values are deprecated in Drupal 9.5 and will fail in * Drupal 11.0. 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:196
- ⧉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:269
- 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 _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- protected stringTranslation -> null
- ⧉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"
- ⧉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:33
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
- ⧉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:341
- ⧉public set($property, $value) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:354
- ⧉public isInternal() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:367
- ⧉public isStaticallyCacheable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:374
- ⧉public isRenderCacheable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:381
- ⧉public isPersistentlyCacheable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:388
- ⧉public getKeys() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:395
- ⧉public getKey($key) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:402
- ⧉public hasKey($key) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:410
- ⧉public getOriginalClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:418
- ⧉public setClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:425
- ⧉public entityClassImplements($interface) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:438
- ⧉public isSubclassOf($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:445
- ⧉public getHandlerClasses() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:453
- ⧉public getHandlerClass($handler_type, $nested = false) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:460
- ⧉public setHandlerClass($handler_type, $value) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:471
- ⧉public hasHandlerClass($handler_type, $nested = false) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:479
- ⧉public getStorageClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:494
- ⧉public setStorageClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:501
- ⧉public getFormClass($operation) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:520
- ⧉public setFormClass($operation, $class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:527
- ⧉public hasFormClasses() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:535
- ⧉public hasRouteProviders() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:542
- ⧉public getListBuilderClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:549
- ⧉public setListBuilderClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:556
- ⧉public hasListBuilderClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:564
- ⧉public getViewBuilderClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:571
- ⧉public setViewBuilderClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:578
- ⧉public hasViewBuilderClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:586
- ⧉public getRouteProviderClasses() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:593
- ⧉public getAccessControlClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:600
- ⧉public setAccessClass($class) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:607
- ⧉public getAdminPermission() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:615
- ⧉public getPermissionGranularity() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:622
- ⧉public getLinkTemplates() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:629
- ⧉public getLinkTemplate($key) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:636
- ⧉public hasLinkTemplate($key) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:644
- ⧉public setLinkTemplate($key, $path) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:652
- ⧉public getBundleEntityType() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:664
- ⧉public getBundleOf() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:671
- ⧉public getBundleLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:678
- ⧉public getBaseTable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:693
- ⧉public showRevisionUi() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:700
- ⧉public isTranslatable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:707
- ⧉public isRevisionable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:714
- ⧉public getRevisionDataTable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:722
- ⧉public getRevisionTable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:729
- ⧉public getDataTable() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:736
- ⧉public getLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:743
- ⧉public getCollectionLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:750
- ⧉public getSingularLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:761
- ⧉public getPluralLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:772
- ⧉public getCountLabel($count) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:783
- ⧉public getUriCallback() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:797
- ⧉public setUriCallback($callback) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:804
- ⧉public getGroup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:812
- ⧉public getGroupLabel() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:819
- ⧉public getListCacheContexts() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:826
- ⧉public getListCacheTags() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:833
- ⧉public isCommonReferenceTarget() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:850
- ⧉public getConstraints() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:857
- ⧉public setConstraints(array $constraints) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:864
- ⧉public addConstraint($constraint_name, $options = null) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:872
- ⧉public getBundleConfigDependency($bundle) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Entity\EntityType Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityType.php:880
- ⧉public id() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\Definition\PluginDefinition Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php:35
- ⧉public getClass() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\Definition\PluginDefinition Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php:50
- ⧉public getProvider() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Component\Plugin\Definition\PluginDefinition Defined in <ROOT>/core/lib/Drupal/Component/Plugin/Definition/PluginDefinition.php:57
- ⧉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 (3)
- Properties (3)
- Available methods (11)
- Static class properties
- ⧉protected entityTypeManager -> Drupal\Core\Entity\EntityTypeManager (21)
- Properties (21)
- Available methods (37)
- ⧉protected discovery -> Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery (8) Depth Limit
- protected factory -> null
- protected mapper -> null
- 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 (11) 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 (0) Depth Limit
- protected additionalAnnotationNamespaces -> array (0)
- ⧉protected definitions -> array (50) Depth Limit
- ⧉protected cacheBackend -> Drupal\Core\Cache\ChainedFastBackend (4) Depth Limit
- protected useCaches -> boolean true
- ⧉protected handlers -> array (2) Depth Limit
- ⧉protected stringTranslation -> Drupal\Core\StringTranslation\TranslationManager (3) Depth Limit
- ⧉protected classResolver -> Drupal\Core\DependencyInjection\ClassResolver (3) Depth Limit
- ⧉protected entityLastInstalledSchemaRepository -> Drupal\Core\Entity\EntityLastInstalledSchemaRepository (3) Depth Limit
- ⧉protected container -> Drupal\Core\DependencyInjection\Container Blacklisted
- ⧉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:131
- ⧉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:153
- ⧉public clearCachedDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:161
- ⧉public useCaches($use_caches = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:169
- ⧉public hasHandler($entity_type_id, $handler_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:180
- ⧉public getStorage($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:191
- ⧉public getListBuilder($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:198
- ⧉public getFormObject($entity_type_id, $operation) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:205
- ⧉public getRouteProviders($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:222
- ⧉public getViewBuilder($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:237
- ⧉public getAccessControlHandler($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:244
- ⧉public getHandler($entity_type_id, $handler_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:251
- ⧉public createHandlerInstance($class, Drupal\Core\Entity\EntityTypeInterface $definition = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:267
- ⧉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:157
- ⧉public getDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:178
- ⧉public getCacheContexts() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:357
- ⧉public getCacheTags() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:364
- ⧉public getCacheMaxAge() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:371
- ⧉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:171
- ⧉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:212
- ⧉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:225
- ⧉protected getDiscovery() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:266
- ⧉protected getFactory() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:277
- ⧉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:317
- ⧉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:338
- ⧉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:350
- ⧉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 (16)
- Properties (16)
- Available methods (34)
- ⧉protected languages -> array (2) Depth Limit
- ⧉protected defaultLanguage -> Drupal\Core\Language\LanguageDefault (1) Depth Limit
- ⧉protected definedLanguageTypesInfo -> array (3) Depth Limit
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (5) Depth Limit
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (11) Depth Limit
- ⧉protected configFactoryOverride -> Drupal\language\Config\LanguageConfigFactoryOverride (5) Depth Limit
- ⧉protected requestStack -> Drupal\Core\Http\RequestStack (1) Depth Limit
- ⧉protected negotiator -> Drupal\language\LanguageNegotiator (8) Depth Limit
- ⧉protected languageTypes -> array (5) Depth Limit
- ⧉protected languageTypesInfo -> array (3) Depth Limit
- ⧉protected negotiatedLanguages -> array (3) Depth Limit
- ⧉protected negotiatedMethods -> array (3) Depth Limit
- protected initialized -> boolean false
- protected initializing -> array (0)
- ⧉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:434
- ⧉public getConfigOverrideLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:442
- ⧉public getLanguageConfigOverride($langcode, $name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:449
- ⧉public getLanguageConfigOverrideStorage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:456
- ⧉public getStandardLanguageListWithoutConfigured() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:463
- ⧉public getNegotiatedLanguageMethod($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:480
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:33
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
- ⧉public getDefaultLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:121
- ⧉public getLanguage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:155
- ⧉public getLanguageName($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:163
- ⧉public getDefaultLockedLanguages($weight0) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:179
- ⧉public isLanguageLocked($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:207
- ⧉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:402
- ⇄⧉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:229
- ⇄⧉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:349
- ⧉protected contextRepository -> Drupal\Core\Plugin\Context\LazyContextRepository (3)
- Properties (3)
- Available methods (3)
- ⧉protected contextProviderServiceIDs -> array (6) Depth Limit
- ⧉protected container -> Drupal\Core\DependencyInjection\Container Blacklisted
- protected contexts -> array (0)
- ⧉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 __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 (7)
- Properties (7)
- Available methods (23)
- Static class properties
- ⧉protected displayModeInfo -> array (1)
- ⧉view_mode => array (10) Depth Limit
- ⧉protected languageManager -> Drupal\language\ConfigurableLanguageManager (16)
- Properties (16)
- Available methods (34)
- ⧉protected languages -> array (2) Depth Limit
- ⧉protected defaultLanguage -> Drupal\Core\Language\LanguageDefault (1) Depth Limit
- ⧉protected definedLanguageTypesInfo -> array (3) Depth Limit
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (5) Depth Limit
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (11) Depth Limit
- ⧉protected configFactoryOverride -> Drupal\language\Config\LanguageConfigFactoryOverride (5) Depth Limit
- ⧉protected requestStack -> Drupal\Core\Http\RequestStack (1) Depth Limit
- ⧉protected negotiator -> Drupal\language\LanguageNegotiator (8) Depth Limit
- ⧉protected languageTypes -> array (5) Depth Limit
- ⧉protected languageTypesInfo -> array (3) Depth Limit
- ⧉protected negotiatedLanguages -> array (3) Depth Limit
- ⧉protected negotiatedMethods -> array (3) Depth Limit
- protected initialized -> boolean false
- protected initializing -> array (0)
- ⧉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:434
- ⧉public getConfigOverrideLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:442
- ⧉public getLanguageConfigOverride($langcode, $name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:449
- ⧉public getLanguageConfigOverrideStorage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:456
- ⧉public getStandardLanguageListWithoutConfigured() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:463
- ⧉public getNegotiatedLanguageMethod($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:480
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:33
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
- ⧉public getDefaultLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:121
- ⧉public getLanguage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:155
- ⧉public getLanguageName($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:163
- ⧉public getDefaultLockedLanguages($weight0) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:179
- ⧉public isLanguageLocked($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:207
- ⧉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:402
- ⇄⧉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:229
- ⇄⧉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:349
- ⧉protected entityTypeManager -> Drupal\Core\Entity\EntityTypeManager (21)
- Properties (21)
- Available methods (37)
- ⧉protected discovery -> Drupal\Core\Plugin\Discovery\AnnotatedClassDiscovery (8) Depth Limit
- protected factory -> null
- protected mapper -> null
- 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 (11) 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 (0) Depth Limit
- protected additionalAnnotationNamespaces -> array (0)
- ⧉protected definitions -> array (50) Depth Limit
- ⧉protected cacheBackend -> Drupal\Core\Cache\ChainedFastBackend (4) Depth Limit
- protected useCaches -> boolean true
- ⧉protected handlers -> array (2) Depth Limit
- ⧉protected stringTranslation -> Drupal\Core\StringTranslation\TranslationManager (3) Depth Limit
- ⧉protected classResolver -> Drupal\Core\DependencyInjection\ClassResolver (3) Depth Limit
- ⧉protected entityLastInstalledSchemaRepository -> Drupal\Core\Entity\EntityLastInstalledSchemaRepository (3) Depth Limit
- ⧉protected container -> Drupal\Core\DependencyInjection\Container Blacklisted
- ⧉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:131
- ⧉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:153
- ⧉public clearCachedDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:161
- ⧉public useCaches($use_caches = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:169
- ⧉public hasHandler($entity_type_id, $handler_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:180
- ⧉public getStorage($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:191
- ⧉public getListBuilder($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:198
- ⧉public getFormObject($entity_type_id, $operation) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:205
- ⧉public getRouteProviders($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:222
- ⧉public getViewBuilder($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:237
- ⧉public getAccessControlHandler($entity_type_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:244
- ⧉public getHandler($entity_type_id, $handler_type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:251
- ⧉public createHandlerInstance($class, Drupal\Core\Entity\EntityTypeInterface $definition = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Entity/EntityTypeManager.php:267
- ⧉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:157
- ⧉public getDefinitions() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:178
- ⧉public getCacheContexts() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:357
- ⧉public getCacheTags() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:364
- ⧉public getCacheMaxAge() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:371
- ⧉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:171
- ⧉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:212
- ⧉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:225
- ⧉protected getDiscovery() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:266
- ⧉protected getFactory() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Plugin\DefaultPluginManager Defined in <ROOT>/core/lib/Drupal/Core/Plugin/DefaultPluginManager.php:277
- ⧉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:317
- ⧉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:338
- ⧉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:350
- ⧉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 (11)
- Properties (11)
- Available methods (35)
- ⧉protected loadedFiles -> array (115) Depth Limit
- ⧉protected moduleList -> array (115) Depth Limit
- protected loaded -> boolean true
- ⧉protected implementations -> array (393) Depth Limit
- ⧉protected verified -> array (11) Depth Limit
- protected hookInfo -> null
- ⧉protected cacheBackend -> Drupal\Core\Cache\ChainedFastBackend (4) Depth Limit
- protected cacheNeedsWriting -> boolean false
- ⧉protected alterFunctions -> array (4) Depth Limit
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- ⧉protected includeFileKeys -> array (1) Depth Limit
- ⧉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:336
- ⧉public resetImplementations() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:346
- ⧉public hasImplementations(string $hook, $modules = null): bool {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:368
- ⧉public implementsHook($module, $hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:394
- ⧉public invokeAllWith(string $hook, callable $callback): void {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:402
- ⧉public invoke($module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:412
- ⧉public invokeAll($hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:423
- ⧉public invokeDeprecated($description, $module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:440
- ⧉public invokeAllDeprecated($description, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:449
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:477
- ⧉public alterDeprecated($description, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:569
- ⧉public getModuleDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:723
- ⧉public getName($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:734
- ⧉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:600
- ⧉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:646
- ⧉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:695
- ⧉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:463
- ⧉protected cacheBackend -> Drupal\Core\Cache\ChainedFastBackend (4)
- Properties (4)
- Available methods (17)
- Static class properties (2)
- protected bin -> string (15) "cache_discovery"
- ⧉protected consistentBackend -> Drupal\Core\Cache\DatabaseBackend (4) Depth Limit
- ⧉protected fastBackend -> Drupal\Core\Cache\ApcuBackend (4) Depth Limit
- protected lastWriteTimestamp -> double 1769533045.9
- ⧉public __construct(Drupal\Core\Cache\CacheBackendInterface $consistent_backend, Drupal\Core\Cache\CacheBackendInterface $fast_backend, $bin) Constructs a ChainedFastBackend object.
/** * Constructs a ChainedFastBackend object. * * @param \Drupal\Core\Cache\CacheBackendInterface $consistent_backend * The consistent cache backend. * @param \Drupal\Core\Cache\CacheBackendInterface $fast_backend * The fast cache backend. * @param string $bin * The cache bin for which the object is created. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:91
- ⧉public get($cid, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:101
- ⧉public getMultiple(&$cids, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:110
- ⧉public set($cid, $data, $expire = -1, array $tags = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:179
- ⧉public setMultiple(array $items) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:190
- ⧉public delete($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:204
- ⧉public deleteMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:212
- ⧉public deleteAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:220
- ⧉public invalidate($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:228
- ⧉public invalidateMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:235
- ⧉public invalidateTags(array $tags) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:243
- ⧉public invalidateAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:253
- ⧉public garbageCollection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:261
- ⧉public removeBin() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:269
- ⧉public reset()
/** * @todo Document in https://www.drupal.org/node/2311945. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:277
- ⧉protected getLastWriteTimestamp() Gets the last write timestamp.
/** * Gets the last write timestamp. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:284
- ⧉protected markAsOutdated() Marks the fast cache bin as outdated because of a write.
/** * Marks the fast cache bin as outdated because of a write. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:295
- ⇄const LAST_WRITE_TIMESTAMP_PREFIX :: string (21) "last_write_timestamp_"\Drupal\Core\Cache\ChainedFastBackend::LAST_WRITE_TIMESTAMP_PREFIX
- ⇄const CACHE_PERMANENT :: integer -1\Drupal\Core\Cache\ChainedFastBackend::CACHE_PERMANENT
- ⇄const LAST_WRITE_TIMESTAMP_PREFIX :: string (21) "last_write_timestamp_"
- protected useCaches -> boolean true
- protected stringTranslation -> null
- ⧉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 (16)
- Properties (16)
- Available methods (34)
- ⧉protected languages -> array (2)
- ⧉en => array (1) Depth Limit
- ⧉de => array (2) Depth Limit
- ⧉protected defaultLanguage -> Drupal\Core\Language\LanguageDefault (1)
- Properties
- Available methods (3)
- ⧉protected language -> Drupal\Core\Language\Language (5) Depth Limit
- ⧉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 definedLanguageTypesInfo -> array (3)
- ⧉language_interface => array (3) Depth Limit
- ⧉language_content => array (3) Depth Limit
- ⧉language_url => array (1) Depth Limit
- protected _serviceIds -> array (0)
- protected _entityStorages -> array (0)
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (5)
- Properties (5)
- Available methods (20)
- ⧉protected storage -> Drupal\Core\Config\CachedStorage (5) Depth Limit
- ⧉protected eventDispatcher -> Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher (3) Depth Limit
- ⧉protected cache -> array (24) Depth Limit
- ⧉protected typedConfigManager -> Drupal\Core\Config\TypedConfigManager (24) Depth Limit
- ⧉protected configFactoryOverrides -> array (1) Depth Limit
- ⧉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 (11)
- Properties (11)
- Available methods (35)
- ⧉protected loadedFiles -> array (115) Depth Limit
- ⧉protected moduleList -> array (115) Depth Limit
- protected loaded -> boolean true
- ⧉protected implementations -> array (393) Depth Limit
- ⧉protected verified -> array (11) Depth Limit
- protected hookInfo -> null
- ⧉protected cacheBackend -> Drupal\Core\Cache\ChainedFastBackend (4) Depth Limit
- protected cacheNeedsWriting -> boolean false
- ⧉protected alterFunctions -> array (4) Depth Limit
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- ⧉protected includeFileKeys -> array (1) Depth Limit
- ⧉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:336
- ⧉public resetImplementations() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:346
- ⧉public hasImplementations(string $hook, $modules = null): bool {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:368
- ⧉public implementsHook($module, $hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:394
- ⧉public invokeAllWith(string $hook, callable $callback): void {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:402
- ⧉public invoke($module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:412
- ⧉public invokeAll($hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:423
- ⧉public invokeDeprecated($description, $module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:440
- ⧉public invokeAllDeprecated($description, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:449
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:477
- ⧉public alterDeprecated($description, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:569
- ⧉public getModuleDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:723
- ⧉public getName($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:734
- ⧉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:600
- ⧉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:646
- ⧉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:695
- ⧉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:463
- ⧉protected configFactoryOverride -> Drupal\language\Config\LanguageConfigFactoryOverride (5)
- Properties (5)
- Available methods (19)
- ⧉protected baseStorage -> Drupal\Core\Config\CachedStorage (5) Depth Limit
- ⧉protected storages -> array (2) Depth Limit
- ⧉protected typedConfigManager -> Drupal\Core\Config\TypedConfigManager (24) Depth Limit
- ⧉protected eventDispatcher -> Drupal\Component\EventDispatcher\ContainerAwareEventDispatcher (3) Depth Limit
- ⧉protected language -> Drupal\Core\Language\Language (5) Depth Limit
- ⧉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 -> Drupal\Core\Http\RequestStack (1)
- Properties
- Available methods (6)
- ⧉private requests -> array (2) Depth Limit
- ⧉public getMainRequest(): Symfony\Component\HttpFoundation\Request Gets the main request.
/** * Gets the main request. * * @return \Symfony\Component\HttpFoundation\Request|null * The main request. */ Defined in <ROOT>/core/lib/Drupal/Core/Http/RequestStack.php:21
- ⧉public getMasterRequest() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Http/RequestStack.php:33
- ⧉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. */ Inherited from Symfony\Component\HttpFoundation\RequestStack 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 */ Inherited from Symfony\Component\HttpFoundation\RequestStack Defined in .../symfony/http-foundation/RequestStack.php:47
- ⧉public getCurrentRequest(): Request|null
/** * @return Request|null */ Inherited from Symfony\Component\HttpFoundation\RequestStack Defined in .../symfony/http-foundation/RequestStack.php:59
- ⧉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 */ Inherited from Symfony\Component\HttpFoundation\RequestStack Defined in .../symfony/http-foundation/RequestStack.php:93
- ⧉protected negotiator -> Drupal\language\LanguageNegotiator (8)
- Properties (8)
- Available methods (14)
- Static class properties
- ⧉protected negotiatorManager -> Drupal\language\LanguageNegotiationMethodManager (17) Depth Limit
- ⧉protected languageManager -> Drupal\language\ConfigurableLanguageManager (16) Recursion
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (5) Depth Limit
- ⧉protected settings -> Drupal\Core\Site\Settings (1) Depth Limit
- ⧉protected requestStack -> Drupal\Core\Http\RequestStack (1) Depth Limit
- ⧉protected currentUser -> Drupal\Core\Session\AccountProxy (5) Depth Limit
- ⧉protected methods -> array (2) Depth Limit
- ⧉protected negotiatedLanguages -> array (1) Depth Limit
- ⧉public __construct(Drupal\language\ConfigurableLanguageManagerInterface $language_manager, Drupal\Component\Plugin\PluginManagerInterface $negotiator_manager, Drupal\Core\Config\ConfigFactoryInterface $config_factory, Drupal\Core\Site\Settings $settings, Symfony\Component\HttpFoundation\RequestStack $requestStack) Constructs a new LanguageNegotiator object.
/** * Constructs a new LanguageNegotiator object. * * @param \Drupal\language\ConfigurableLanguageManagerInterface $language_manager * The language manager. * @param \Drupal\Component\Plugin\PluginManagerInterface $negotiator_manager * The language negotiation methods plugin manager * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The configuration factory. * @param \Drupal\Core\Site\Settings $settings * The settings instance. * @param \Symfony\Component\HttpFoundation\RequestStack $requestStack * The request stack service. */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:87
- ⧉public initLanguageManager() Initializes the injected language manager with the negotiator.
/** * Initializes the injected language manager with the negotiator. * * This should be called right after instantiating the negotiator to make it * available to the language manager without introducing a circular * dependency. */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:102
- ⧉public reset() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:109
- ⧉public setCurrentUser(Drupal\Core\Session\AccountInterface $current_user) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:117
- ⧉public initializeType($type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:125
- ⧉public getNegotiationMethods($type = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:198
- ⧉public getNegotiationMethodInstance($method_id) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:210
- ⧉public getPrimaryNegotiationMethod($type) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:224
- ⧉public isNegotiationMethodEnabled($method_id, $type = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:232
- ⧉public saveConfiguration($type, $enabled_methods) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:250
- ⧉public purgeConfiguration() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:282
- ⧉public updateConfiguration(array $types) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:297
- ⧉protected getEnabledNegotiators($type): array Gets enabled detection methods for the provided language type.
/** * Gets enabled detection methods for the provided language type. * * @param string $type * The language type. * * @return array * An array of enabled detection methods for the provided language type. */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:167
- ⧉protected negotiateLanguage($type, $method_id): \Drupal\Core\Language\LanguageInterface|null Performs language negotiation using the specified negotiation method.
/** * Performs language negotiation using the specified negotiation method. * * @param string $type * The language type to be initialized. * @param string $method_id * The string identifier of the language negotiation method to use to detect * language. * * @return \Drupal\Core\Language\LanguageInterface|null * Negotiated language object for given type and method, FALSE otherwise. */ Defined in <ROOT>/core/modules/language/src/LanguageNegotiator.php:183
- ⇄const METHOD_ID :: string (16) "language-default"\Drupal\language\LanguageNegotiator::METHOD_ID
- ⇄const METHOD_ID :: string (16) "language-default"
- ⧉protected languageTypes -> array (5)
- ⧉_core => array (1) Depth Limit
- langcode => string (2) "en"
- ⧉all => array (3) Depth Limit
- ⧉configurable => array (1) Depth Limit
- ⧉negotiation => array (3) Depth Limit
- ⧉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 (3)
- ⧉language_interface => Drupal\Core\Language\Language (5) Depth Limit
- ⧉language_url => Drupal\Core\Language\Language (5) Depth Limit
- ⧉language_content => Drupal\Core\Language\Language (5) Depth Limit
- ⧉protected negotiatedMethods -> array (3)
- language_interface => string (12) "language-url"
- language_url => string (12) "language-url"
- language_content => string (18) "language-interface"
- protected initialized -> boolean false
- protected initializing -> array (0)
- ⧉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:434
- ⧉public getConfigOverrideLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:442
- ⧉public getLanguageConfigOverride($langcode, $name) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:449
- ⧉public getLanguageConfigOverrideStorage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:456
- ⧉public getStandardLanguageListWithoutConfigured() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:463
- ⧉public getNegotiatedLanguageMethod($type = 'language_interface') {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/modules/language/src/ConfigurableLanguageManager.php:480
- ⧉public __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:33
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
- ⧉public getDefaultLanguage() {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:121
- ⧉public getLanguage($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:155
- ⧉public getLanguageName($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:163
- ⧉public getDefaultLockedLanguages($weight0) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:179
- ⧉public isLanguageLocked($langcode) {@inheritdoc}
/** * {@inheritdoc} */ Inherited from Drupal\Core\Language\LanguageManager Defined in <ROOT>/core/lib/Drupal/Core/Language/LanguageManager.php:207
- ⧉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:402
- ⇄⧉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:229
- ⇄⧉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:349
- ⧉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 (4) "rp22"
- ⧉protected logo -> string (27) "themes/custom/rp22/logo.svg"
- File (2.22KB)
-rw-r--r-- 4038207 100 2.22KB Nov 30 2021 themes/custom/rp22/logo.svg
- ⧉protected path -> string (18) "themes/custom/rp22"
- Directory (8B)
drwxr-xr-x 4038207 100 8B Nov 30 2021 themes/custom/rp22
- protected engine -> string (4) "twig"
- ⧉protected owner -> string (36) "core/themes/engines/twig/twig.engine"
- File (4.13KB)
-rw-r--r-- 4038207 100 4.13KB Mar 01 2023 core/themes/engines/twig/twig.engine
- ⧉protected baseThemeExtensions -> array (2) Depth Limit
- ⧉protected extension -> Drupal\Core\Extension\Extension (19) Depth Limit
- protected styleSheetsRemove -> array (0)
- ⧉protected libraries -> array (5) Depth Limit
- ⧉protected regions -> array (12) Depth Limit
- ⧉protected librariesOverride -> array (2) Depth Limit
- ⧉protected librariesExtend -> array (13) 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 (5)
- Properties (5)
- 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 __sleep() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:33
- ⧉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 acquire($name, $timeout = 30.0) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/ProxyClass/Lock/DatabaseLockBackend.php:73
- ⧉public __wakeup() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:74
- ⧉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 (4)
- Properties (4)
- Available methods (20)
- Static class properties (3)
- protected maxRows -> integer 5000
- protected bin -> string (13) "cache_default"
- ⧉protected connection -> Drupal\mysql\Driver\Database\mysql\Connection (24) Depth Limit
- ⧉protected checksumProvider -> Drupal\Core\Cache\DatabaseCacheTagsChecksum (4) Depth Limit
- ⧉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 (11)
- Properties (11)
- Available methods (35)
- ⧉protected loadedFiles -> array (115) Depth Limit
- ⧉protected moduleList -> array (115) Depth Limit
- protected loaded -> boolean true
- ⧉protected implementations -> array (393) Depth Limit
- ⧉protected verified -> array (11) Depth Limit
- protected hookInfo -> null
- ⧉protected cacheBackend -> Drupal\Core\Cache\ChainedFastBackend (4) Depth Limit
- protected cacheNeedsWriting -> boolean false
- ⧉protected alterFunctions -> array (4) Depth Limit
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- ⧉protected includeFileKeys -> array (1) Depth Limit
- ⧉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:336
- ⧉public resetImplementations() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:346
- ⧉public hasImplementations(string $hook, $modules = null): bool {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:368
- ⧉public implementsHook($module, $hook) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:394
- ⧉public invokeAllWith(string $hook, callable $callback): void {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:402
- ⧉public invoke($module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:412
- ⧉public invokeAll($hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:423
- ⧉public invokeDeprecated($description, $module, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:440
- ⧉public invokeAllDeprecated($description, $hook, array $args = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:449
- ⧉public alter($type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:477
- ⧉public alterDeprecated($description, $type, &$data, &$context1 = null, &$context2 = null) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:569
- ⧉public getModuleDirectories() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:723
- ⧉public getName($module) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleHandler.php:734
- ⧉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:600
- ⧉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:646
- ⧉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:695
- ⧉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:463
- ⧉protected runtimeRegistry -> array (1)
- ⧉rp22 => Drupal\Core\Utility\ThemeRegistry (12) Depth Limit
- protected initialized -> boolean false
- protected themeName -> null
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- ⧉protected themeHandler -> Drupal\Core\Extension\ThemeHandler (4)
- Properties (4)
- Available methods (13)
- ⧉protected list -> array (4) Depth Limit
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (5) Depth Limit
- ⧉protected themeList -> Drupal\Core\Extension\ThemeExtensionList (15) Depth Limit
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- ⧉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 (5)
- Properties (5)
- Available methods (8)
- ⧉protected themeHandler -> Drupal\Core\Extension\ThemeHandler (4) Depth Limit
- ⧉protected cache -> Drupal\Core\Cache\ChainedFastBackend (4) Depth Limit
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- protected extensions -> null
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (11) Depth Limit
- ⧉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:129
- ⧉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 (6)
- Properties (6)
- Available methods (10)
- ⧉protected themeNegotiator -> Drupal\Core\Theme\ThemeNegotiator (3) 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 (5) Depth Limit
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (11) Depth Limit
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- ⧉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\ChainedFastBackend (4)
- Properties (4)
- Available methods (17)
- Static class properties (2)
- protected bin -> string (15) "cache_bootstrap"
- ⧉protected consistentBackend -> Drupal\Core\Cache\DatabaseBackend (4) Depth Limit
- ⧉protected fastBackend -> Drupal\Core\Cache\ApcuBackend (4) Depth Limit
- protected lastWriteTimestamp -> double 1769533045.383
- ⧉public __construct(Drupal\Core\Cache\CacheBackendInterface $consistent_backend, Drupal\Core\Cache\CacheBackendInterface $fast_backend, $bin) Constructs a ChainedFastBackend object.
/** * Constructs a ChainedFastBackend object. * * @param \Drupal\Core\Cache\CacheBackendInterface $consistent_backend * The consistent cache backend. * @param \Drupal\Core\Cache\CacheBackendInterface $fast_backend * The fast cache backend. * @param string $bin * The cache bin for which the object is created. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:91
- ⧉public get($cid, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:101
- ⧉public getMultiple(&$cids, $allow_invalid = false) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:110
- ⧉public set($cid, $data, $expire = -1, array $tags = array()) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:179
- ⧉public setMultiple(array $items) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:190
- ⧉public delete($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:204
- ⧉public deleteMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:212
- ⧉public deleteAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:220
- ⧉public invalidate($cid) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:228
- ⧉public invalidateMultiple(array $cids) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:235
- ⧉public invalidateTags(array $tags) {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:243
- ⧉public invalidateAll() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:253
- ⧉public garbageCollection() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:261
- ⧉public removeBin() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:269
- ⧉public reset()
/** * @todo Document in https://www.drupal.org/node/2311945. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:277
- ⧉protected getLastWriteTimestamp() Gets the last write timestamp.
/** * Gets the last write timestamp. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:284
- ⧉protected markAsOutdated() Marks the fast cache bin as outdated because of a write.
/** * Marks the fast cache bin as outdated because of a write. */ Defined in <ROOT>/core/lib/Drupal/Core/Cache/ChainedFastBackend.php:295
- ⇄const LAST_WRITE_TIMESTAMP_PREFIX :: string (21) "last_write_timestamp_"\Drupal\Core\Cache\ChainedFastBackend::LAST_WRITE_TIMESTAMP_PREFIX
- ⇄const CACHE_PERMANENT :: integer -1\Drupal\Core\Cache\ChainedFastBackend::CACHE_PERMANENT
- ⇄const LAST_WRITE_TIMESTAMP_PREFIX :: string (21) "last_write_timestamp_"
- ⧉protected moduleList -> Drupal\Core\Extension\ModuleExtensionList (15)
- Properties (15)
- Available methods (33)
- protected type -> string (6) "module"
- ⧉protected root -> string (16) "/html/dev/rp/web"
- Directory (28B)
- Base64
drwxr-xr-x 4038207 100 28B Nov 27 2025 /html/dev/rp/web
- base64_decode(root) binary string (12)
- ⧉protected cache -> Drupal\Core\Cache\DatabaseBackend (4) Depth Limit
- ⧉protected defaults -> array (5) Depth Limit
- ⧉protected infoParser -> Drupal\Core\Extension\InfoParser (1) Depth Limit
- ⧉protected moduleHandler -> Drupal\Core\Extension\ModuleHandler (11) Depth Limit
- protected extensions -> null
- protected extensionInfo -> null
- protected pathNames -> null
- ⧉protected addedPathNames -> array (115) Depth Limit
- ⧉protected state -> Drupal\Core\State\State (2) Depth Limit
- protected installProfile -> string (7) "minimal"
- ⧉protected configFactory -> Drupal\Core\Config\ConfigFactory (5) Depth Limit
- ⧉protected profileList -> Drupal\Core\Extension\ProfileExtensionList (12) Depth Limit
- protected stringTranslation -> null
- ⧉public __construct($root, $type, Drupal\Core\Cache\CacheBackendInterface $cache, Drupal\Core\Extension\InfoParserInterface $info_parser, Drupal\Core\Extension\ModuleHandlerInterface $module_handler, Drupal\Core\State\StateInterface $state, Drupal\Core\Config\ConfigFactoryInterface $config_factory, Drupal\Core\Extension\ExtensionList $profile_list, $install_profile, array $container_modules_info = array()) Constructs a new ModuleExtensionList instance.
/** * Constructs a new ModuleExtensionList instance. * * @param string $root * The app root. * @param string $type * The extension type. * @param \Drupal\Core\Cache\CacheBackendInterface $cache * The cache. * @param \Drupal\Core\Extension\InfoParserInterface $info_parser * The info parser. * @param \Drupal\Core\Extension\ModuleHandlerInterface $module_handler * The module handler. * @param \Drupal\Core\State\StateInterface $state * The state. * @param \Drupal\Core\Config\ConfigFactoryInterface $config_factory * The config factory. * @param \Drupal\Core\Extension\ExtensionList $profile_list * The site profile listing. * @param string $install_profile * The install profile used by the site. * @param array[] $container_modules_info * (optional) The module locations coming from the compiled container. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleExtensionList.php:73
- ⧉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 reset(): $this Resets the stored extension list.
/** * Resets the stored extension list. * * We don't reset statically added filenames, as it is a static cache which * logically can't change. This is done for performance reasons of the * installer. * * @return $this */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:163
- ⧉public exists($extension_name): bool Determines if an extension exists in the filesystem.
/** * Determines if an extension exists in the filesystem. * * @param string $extension_name * The machine name of the extension. * * @return bool * TRUE if the extension exists (regardless installed or not) and FALSE if * not. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:225
- ⧉public getName($extension_name): string Returns the human-readable name of the extension.
/** * Returns the human-readable name of the extension. * * @param string $extension_name * The machine name of the extension. * * @return string * The human-readable name of the extension. * * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException * If there is no extension with the supplied machine name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:242
- ⧉public get($extension_name): \Drupal\Core\Extension\Extension Returns a single extension.
/** * Returns a single extension. * * @param string $extension_name * The machine name of the extension. * * @return \Drupal\Core\Extension\Extension * A processed extension object for the extension with the specified machine * name. * * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException * If there is no extension with the supplied name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:259
- ⧉public getList(): \Drupal\Core\Extension\Extension[] Returns all available extensions.
/** * Returns all available extensions. * * @return \Drupal\Core\Extension\Extension[] * Processed extension objects, keyed by machine name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:274
- ⧉public getExtensionInfo($extension_name): mixed[] Returns information about a specified extension.
/** * Returns information about a specified extension. * * This function returns the contents of the .info.yml file for the specified * extension. * * @param string $extension_name * The name of an extension whose information shall be returned. * * @return mixed[] * An associative array of extension information. * * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException * If there is no extension with the supplied name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:341
- ⧉public getAllAvailableInfo(): array[] Returns an array of info files information of available extensions.
/** * Returns an array of info files information of available extensions. * * This function returns the processed contents (with added defaults) of the * .info.yml files. * * @return array[] * An associative array of extension information arrays, keyed by extension * name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:359
- ⧉public getAllInstalledInfo(): array[] Returns an array of info files information of installed extensions.
/** * Returns an array of info files information of installed extensions. * * This function returns the processed contents (with added defaults) of the * .info.yml files. * * @return array[] * An associative array of extension information arrays, keyed by extension * name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:393
- ⧉public getPathnames(): string[] Returns a list of extension file paths keyed by machine name.
/** * Returns a list of extension file paths keyed by machine name. * * @return string[] */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:414
- ⧉public setPathname($extension_name, $pathname) Sets the pathname for an extension.
/** * Sets the pathname for an extension. * * This method is used in the Drupal bootstrapping phase, when the extension * system is not fully initialized, to manually set locations of modules and * profiles needed to complete bootstrapping. * * It is not recommended to call this method except in those rare cases. * * @param string $extension_name * The machine name of the extension. * @param string $pathname * The pathname of the extension which is to be set explicitly rather * than by consulting the dynamic extension listing. * * @internal * * @see ::getPathname */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:467
- ⧉public getPathname($extension_name): string Gets the info file path for an extension.
/** * Gets the info file path for an extension. * * The info path, whether provided, cached, or retrieved from the database, is * only returned if the file exists. * * This function plays a key role in allowing Drupal's extensions (modules, * themes, profiles, theme_engines, etc.) to be located in different places * depending on a site's configuration. For example, a module 'foo' may * legally be located in any of these four places: * * - core/modules/foo/foo.info.yml * - modules/foo/foo.info.yml * - sites/all/modules/foo/foo.info.yml * - sites/example.com/modules/foo/foo.info.yml * * while a theme 'bar' may be located in any of the following four places: * * - core/themes/bar/bar.info.yml * - themes/bar/bar.info.yml * - sites/all/themes/bar/bar.info.yml * - sites/example.com/themes/bar/bar.info.yml * * An installation profile maybe be located in any of the following places: * * - core/profiles/baz/baz.info.yml * - profiles/baz/baz.info.yml * * Calling ExtensionList::getPathname('foo') will give you one of the above, * depending on where the extension is located and what type it is. * * @param string $extension_name * The machine name of the extension for which the pathname is requested. * * @return string * The drupal-root relative filename and path of the requested extension's * .info.yml file. * * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException * If there is no extension with the supplied machine name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:512
- ⧉public getPath($extension_name): string Gets the path to an extension of a specific type (module, theme, etc.).
/** * Gets the path to an extension of a specific type (module, theme, etc.). * * The path is the directory in which the .info file is located. This name is * coming from \SplFileInfo. * * @param string $extension_name * The machine name of the extension for which the path is requested. * * @return string * The Drupal-root-relative path to the specified extension. * * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException * If there is no extension with the supplied name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:540
- ⧉public checkIncompatibility($name): bool Tests the compatibility of an extension.
/** * Tests the compatibility of an extension. * * @param string $name * The extension name to check. * * @return bool * TRUE if the extension is incompatible and FALSE if not. * * @throws \Drupal\Core\Extension\Exception\UnknownExtensionException * If there is no extension with the supplied name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:578
- ⧉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 getExtensionDiscovery() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleExtensionList.php:88
- ⧉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 getProfileDirectories(Drupal\Core\Extension\ExtensionDiscovery $discovery): string[] Finds all installation profile paths.
/** * Finds all installation profile paths. * * @param \Drupal\Core\Extension\ExtensionDiscovery $discovery * The extension discovery. * * @return string[] * Paths to all installation profiles. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleExtensionList.php:107
- ⧉protected getActiveProfile(): \Drupal\Core\Extension\Extension|null Gets the processed active profile object, or null.
/** * Gets the processed active profile object, or null. * * @return \Drupal\Core\Extension\Extension|null * The active profile, if there is one. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleExtensionList.php:125
- ⧉protected doScanExtensions() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleExtensionList.php:137
- ⧉protected doList() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleExtensionList.php:153
- ⧉protected getInstalledExtensionNames() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleExtensionList.php:199
- ⧉protected ensureRequiredDependencies(Drupal\Core\Extension\Extension $module, array $modules = array()) Marks dependencies of required modules as 'required', recursively.
/** * Marks dependencies of required modules as 'required', recursively. * * @param \Drupal\Core\Extension\Extension $module * The module extension object. * @param \Drupal\Core\Extension\Extension[] $modules * Extension objects for all available modules. */ Defined in <ROOT>/core/lib/Drupal/Core/Extension/ModuleExtensionList.php:211
- ⧉protected getListCacheId(): string Returns the extension list cache ID.
/** * Returns the extension list cache ID. * * @return string * The list cache ID. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:191
- ⧉protected getInfoCacheId(): string Returns the extension info cache ID.
/** * Returns the extension info cache ID. * * @return string * The info cache ID. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:201
- ⧉protected getPathnamesCacheId(): string Returns the extension filenames cache ID.
/** * Returns the extension filenames cache ID. * * @return string * The filename cache ID. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:211
- ⧉protected recalculateInfo(): array[] Generates the information from .info.yml files for extensions of this type.
/** * Generates the information from .info.yml files for extensions of this type. * * @return array[] * An array of arrays of .info.yml entries keyed by the machine name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:403
- ⧉protected recalculatePathnames(): string[] Generates a sorted list of .info.yml file locations for all extensions.
/** * Generates a sorted list of .info.yml file locations for all extensions. * * @return string[] * An array of .info.yml file locations keyed by the extension machine name. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:439
- ⧉protected createExtensionInfo(Drupal\Core\Extension\Extension $extension): array Creates the info value for an extension object.
/** * Creates the info value for an extension object. * * @param \Drupal\Core\Extension\Extension $extension * The extension whose info is to be altered. * * @return array * The extension info array. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:553
- ⇄⧉public static sortByName(Drupal\Core\Extension\Extension $a, Drupal\Core\Extension\Extension $b): int Array sorting callback; sorts extensions by their name.\Drupal\Core\Extension\ExtensionList::sortByName(Drupal\Core\Extension\Extension $a, Drupal\Core\Extension\Extension $b)
/** * Array sorting callback; sorts extensions by their name. * * @param \Drupal\Core\Extension\Extension $a * The first extension to compare. * @param \Drupal\Core\Extension\Extension $b * The second extension to compare. * * @return int * Less than 0 if $a is less than $b, more than 0 if $a is greater than $b, * and 0 if they are equal. */ Inherited from Drupal\Core\Extension\ExtensionList Defined in <ROOT>/core/lib/Drupal/Core/Extension/ExtensionList.php:595
- ⧉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, $runtime_cache = null, $module_list = null, $theme_name = 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 \Drupal\Core\Cache\CacheBackendInterface $runtime_cache * The cache backend interface to use for the runtime theme registry data. * @param \Drupal\Core\Extension\ModuleExtensionList $module_list * The module list. * @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:188
- ⧉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:214
- ⧉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:250
- ⧉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:276
- ⧉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:300
- ⧉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:798
- ⧉public destruct() {@inheritdoc}
/** * {@inheritdoc} */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:813
- ⧉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:828
- ⧉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:227
- ⧉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:287
- ⧉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:349
- ⧉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:457
- ⧉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:642
- ⧉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:682
- ⧉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:710
- ⧉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 * * @deprecated in drupal:9.3.0 and is removed from drupal:10.0.0. Use * \Drupal\Core\Extension\ExtensionList::getPath() instead. * * @see https://www.drupal.org/node/2940438 */ Defined in <ROOT>/core/lib/Drupal/Core/Theme/Registry.php:863
- protected singleFieldDisplays -> null
- ⇄⧉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} */ 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\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:33
- ⇄⧉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:74
- ⇄⧉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} */ 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. */ Defined in <ROOT>/core/modules/node/src/NodeViewBuilder.php:89
- ⇄⧉public static trustedCallbacks() {@inheritdoc}\Drupal\node\NodeViewBuilder::trustedCallbacks()
/** * {@inheritdoc} */ 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): array Build the default links (Read more) for a node.
/** * Build the default links (Read more) for a node. * * @param \Drupal\node\NodeInterface $entity * The node object. * @param string $view_mode * A view mode identifier. * * @return array * An array that can be processed by drupal_pre_render_links(). */ Defined in <ROOT>/core/modules/node/src/NodeViewBuilder.php:124
- ⇄⧉public buildComponents(array &$build, array $entities, array $displays, $view_mode) {@inheritdoc}
- ⇄const THROW_EXCEPTION :: string (9) "exception"\Drupal\node\NodeViewBuilder::THROW_EXCEPTION
- ⇄const TRIGGER_WARNING :: string (7) "warning"\Drupal\node\NodeViewBuilder::TRIGGER_WARNING
- ⇄const TRIGGER_SILENCED_DEPRECATION :: string (20) "silenced_deprecation"\Drupal\node\NodeViewBuilder::TRIGGER_SILENCED_DEPRECATION
- ⇄const THROW_EXCEPTION :: string (9) "exception"
- ⇄1 => string (5) "build"$0['#pre_render'][0][1]
- ⇄⧉0 => Drupal\node\NodeViewBuilder (12)
- ⇄⧉0 => array (2)
- ⇄⧉#node => Drupal\node\Entity\Node (29)