$input Drupal\taxonomy\Entity\Term(24)
  • contents
  • Available methods (118)
  • Static class properties (3)
  • Iterator contents (11)
  • protected values -> array(9)
    'tid' => array(1)
    'x-default' => string(3) "536"
    'vid' => array(1)
    'x-default' => string(4) "tags"
    'uuid' => array(1)
    'x-default' => string(36) "83c3a2f6-ba5b-4317-be35-8a19d5bfac8b"
    'langcode' => array(1)
    'x-default' => string(2) "fa"
    'name' => array(1)
    'x-default' => string UTF-8(12) "فیلتر پریزما"
    'description' => array(1)
    'x-default' => array(2)
    'value' => NULL
    'format' => NULL
    'weight' => array(1)
    'x-default' => string(1) "0"
    'changed' => array(1)
    'x-default' => string(10) "1500365304"
    • timestamp
    • 2017-07-18 12:38:24
    'default_langcode' => array(1)
    'x-default' => string(1) "1"
    protected fields -> array(0)
    protected fieldDefinitions -> array(11)
    'tid' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(7) "integer"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(18) "field_item:integer"
        'settings' => array(6)
        'unsigned' => boolTRUE
        'size' => string(6) "normal"
        'min' => string(0) ""
        'max' => string(0) ""
        'prefix' => string(0) ""
        'suffix' => string(0) ""
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(7)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(7) "Term ID"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'read-only' => boolTRUE
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(12) "The term ID."
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'provider' => string(8) "taxonomy"
      'field_name' => string(3) "tid"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'uuid' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(4) "uuid"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(15) "field_item:uuid"
        'settings' => array(3)
        'max_length' => integer128
        'is_ascii' => boolTRUE
        'case_sensitive' => boolFALSE
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(7)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(4) "UUID"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'read-only' => boolTRUE
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(14) "The term UUID."
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'provider' => string(8) "taxonomy"
      'field_name' => string(4) "uuid"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'langcode' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(8) "language"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(19) "field_item:language"
        'settings' => array(0)
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(8)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(8) "Language"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'display' => array(2)
      'view' => array(2)
      'options' => array(1)
      *DEPTH TOO GREAT*
      'configurable' => boolTRUE
      'form' => array(2)
      'options' => array(2)
      *DEPTH TOO GREAT*
      'configurable' => boolTRUE
      'translatable' => boolTRUE
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(23) "The term language code."
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'provider' => string(8) "taxonomy"
      'field_name' => string(8) "langcode"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'vid' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(16) "entity_reference"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(27) "field_item:entity_reference"
        'settings' => array(3)
        'target_type' => string(19) "taxonomy_vocabulary"
        'handler' => string(7) "default"
        'handler_settings' => array(0)
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(8)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(10) "Vocabulary"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'required' => boolTRUE
      'read-only' => boolTRUE
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(45) "The vocabulary to which the term is assigned."
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'provider' => string(8) "taxonomy"
      'field_name' => string(3) "vid"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'name' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(6) "string"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(17) "field_item:string"
        'settings' => array(3)
        'max_length' => integer255
        'is_ascii' => boolFALSE
        'case_sensitive' => boolFALSE
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(8)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(4) "Name"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'translatable' => boolTRUE
      'required' => boolTRUE
      'display' => array(2)
      'view' => array(1)
      'options' => array(3)
      *DEPTH TOO GREAT*
      'form' => array(2)
      'options' => array(2)
      *DEPTH TOO GREAT*
      'configurable' => boolTRUE
      'provider' => string(8) "taxonomy"
      'field_name' => string(4) "name"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'description' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(9) "text_long"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(20) "field_item:text_long"
        'settings' => array(0)
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(7)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(11) "Description"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'translatable' => boolTRUE
      'display' => array(2)
      'view' => array(2)
      'options' => array(3)
      *DEPTH TOO GREAT*
      'configurable' => boolTRUE
      'form' => array(2)
      'options' => array(2)
      *DEPTH TOO GREAT*
      'configurable' => boolTRUE
      'provider' => string(8) "taxonomy"
      'field_name' => string(11) "description"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'weight' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(7) "integer"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(18) "field_item:integer"
        'settings' => array(6)
        'unsigned' => boolFALSE
        'size' => string(6) "normal"
        'min' => string(0) ""
        'max' => string(0) ""
        'prefix' => string(0) ""
        'suffix' => string(0) ""
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(7)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(6) "Weight"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(51) "The weight of this term in relation to other terms."
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'default_value' => array(1)
      array(1)
      'value' => integer0
      'provider' => string(8) "taxonomy"
      'field_name' => string(6) "weight"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'parent' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(16) "entity_reference"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(27) "field_item:entity_reference"
        'settings' => array(3)
        'target_type' => string(13) "taxonomy_term"
        'handler' => string(7) "default"
        'handler_settings' => array(0)
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(8)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(12) "Term Parents"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(25) "The parents of this term."
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'cardinality' => integer-1
      'custom_storage' => boolTRUE
      'provider' => string(8) "taxonomy"
      'field_name' => string(6) "parent"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'changed' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(7) "changed"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(18) "field_item:changed"
        'settings' => array(0)
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(7)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(7) "Changed"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(39) "The time that the term was last edited."
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'translatable' => boolTRUE
      'provider' => string(8) "taxonomy"
      'field_name' => string(7) "changed"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'default_langcode' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(7) "boolean"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(18) "field_item:boolean"
        'settings' => array(2)
        'on_label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
        *DEPTH TOO GREAT*
        'off_label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
        *DEPTH TOO GREAT*
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(9)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(19) "Default translation"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(58) "A flag indicating whether this is the default translation."
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'translatable' => boolTRUE
      'revisionable' => boolTRUE
      'default_value' => array(1)
      array(1)
      'value' => boolTRUE
      'provider' => string(8) "taxonomy"
      'field_name' => string(16) "default_langcode"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    'path' => Drupal\Core\Field\BaseFieldDefinition(6)
    • contents
    • Available methods (84)
    • Static class properties (1)
    • protected type -> string(4) "path"
      protected propertyDefinitions -> NULL
      protected schema -> NULL
      protected indexes -> array(0)
      protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
      • contents
      • Available methods (35)
      • protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
        protected definition -> array(2)
        'type' => string(15) "field_item:path"
        'settings' => array(0)
      • public static create($field_definition) -> static
        Creates a new field item definition.
        
        @param \Drupal\Core\Field\FieldDefinitionInterface $field_definition
        The field definition the item definition belongs to.
        
        @return static
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:48
        public static createFromDataType($data_type)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:29
        public __construct(array $values = array())
        Constructs a new data definition object.
        
        @param array $values
        (optional) If given, an array of initial values to set on the definition.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:44
        public addConstraint($constraint_name, $options = NULL)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
        public getClass()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:188
        public getConstraint($constraint_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
        public getConstraints()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
        public getDataType()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:51
        public getDescription()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
        public getFieldDefinition() -> \Drupal\Core\Field\FieldDefinitionInterface
        Gets the field item's field definition.
        
        @return \Drupal\Core\Field\FieldDefinitionInterface
        The field definition for this field item.
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:82
        public getLabel()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
        public getMainPropertyName()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:72
        public getPropertyDefinition($name)
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:58
        public getPropertyDefinitions()
        {@inheritdoc}
        
        Defined in .../core/lib/Drupal/Core/Field/TypedData/FieldItemDataDefinition.php:65
        public getSetting($setting_name)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:236
        public getSettings()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:215
        public isComputed()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
        public isList()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
        public isReadOnly()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
        public isRequired()
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
        public offsetExists($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
        public &offsetGet($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
        public offsetSet($offset, $value)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
        public offsetUnset($offset)
        {@inheritdoc}
        
        This is for BC support only.
        @todo: Remove in https://www.drupal.org/node/1928868.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
        public setClass($class) -> static
        Sets the class used for creating the typed data object.
        
        @param string|null $class
        The class to use.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
        public setComputed($computed) -> static
        Sets whether the data is computed.
        
        @param bool $computed
        Whether the data is computed.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
        public setConstraints(array $constraints)
        {@inheritdoc}
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
        public setDataType($type) -> static
        Sets the data type.
        
        @param string $type
        The data type to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:64
        public setDescription($description) -> static
        Sets the human-readable description.
        
        @param string $description
        The description to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
        public setLabel($label) -> static
        Sets the human-readable label.
        
        @param string $label
        The label to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
        public setReadOnly($read_only) -> static
        Sets whether the data is read-only.
        
        @param bool $read_only
        Whether the data is read-only.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
        public setRequired($required) -> static
        Sets whether the data is required.
        
        @param bool $required
        Whether the data is required.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
        public setSetting($setting_name, $value) -> static
        Sets a definition setting.
        
        @param string $setting_name
        The definition setting to set.
        @param mixed $value
        The value to set.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:251
        public setSettings(array $settings) -> static
        Sets the array of settings, as required by the used class.
        
        @param array $settings
        The array of settings.
        
        @return static
        The object itself for chaining.
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:228
        public toArray() -> array
        Returns all definition values as array.
        
        @return array
        
        Inherited from Drupal\Core\TypedData\DataDefinition
        Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected definition -> array(8)
      'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
      • contents
      • Available methods (14)
      • protected string -> string(9) "URL alias"
        protected translatedMarkup -> NULL
        protected options -> array(0)
        protected stringTranslation -> NULL
        protected arguments -> array(0)
      • public __construct($string, array $arguments = array(), array $options = array(), Drupal\Core\StringTranslation\TranslationInterface $string_translation = NULL)
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:137
        public __sleep()
        Magic __sleep() method to avoid serializing the string translator.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:212
        public __toString()
        Implements the magic __toString() method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:13
        public count() -> int
        Returns the string length.
        
        @return int
        The length of the string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:236
        public getArguments() -> mixed[]
        Gets all arguments from this translated string.
        
        @return mixed[]
        The array of arguments.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:187
        public getOption($name) -> mixed
        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 .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:167
        public getOptions() -> mixed[]
        Gets all options from this translated string.
        
        @return mixed[]
        The array of options.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:177
        public getUntranslatedString() -> string
        Gets the untranslated string value stored in this translated string.
        
        @return string
        The string stored in this wrapper.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:154
        public jsonSerialize() -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:112
        public render() -> string
        Renders the object as a string.
        
        @return string
        The translated string.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:197
        protected static placeholderEscape($value) -> string
        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 .../core/lib/Drupal/Component/Render/FormattableMarkup.php:258
        protected static placeholderFormat($string, array $args) -> string
        Replaces placeholders in a string with values.
        
        @param string $string
        A string containing placeholders. The string itself is expected to be
        safe and correct HTML. Any unsafe content must be in $args and
        inserted via placeholders.
        @param array $args
        An associative array of replacements. Each array key should be the same
        as a placeholder in $string. The corresponding value should be a string
        or an object that implements
        \Drupal\Component\Render\MarkupInterface. The value replaces the
        placeholder in $string. Sanitization and formatting will be done before
        replacement. The type of sanitization and formatting depends on the first
        character of the key:
        - @variable: When the placeholder replacement value is:
        - A string, the replaced value in the returned string will be sanitized
        using \Drupal\Component\Utility\Html::escape().
        - A MarkupInterface object, the replaced value in the returned string
        will not be sanitized.
        - A MarkupInterface object cast to a string, the replaced value in the
        returned string be forcibly sanitized using
        \Drupal\Component\Utility\Html::escape().
        @code
        $this->placeholderFormat('This will force HTML-escaping of the replacement value: @text', ['@text' => (string) $safe_string_interface_object));
        @endcode
        Use this placeholder as the default choice for anything displayed on
        the site, but not within HTML attributes, JavaScript, or CSS. Doing so
        is a security risk.
        - %variable: Use when the replacement value is to be wrapped in <em>
        tags.
        A call like:
        @code
        $string = "%output_text";
        $arguments = ['%output_text' => 'text output here.'];
        $this->placeholderFormat($string, $arguments);
        @endcode
        makes the following HTML code:
        @code
        <em class="placeholder">text output here.</em>
        @endcode
        As with @variable, do not use this within HTML attributes, JavaScript,
        or CSS. Doing so is a security risk.
        - :variable: Return value is escaped with
        \Drupal\Component\Utility\Html::escape() and filtered for dangerous
        protocols using UrlHelper::stripDangerousProtocols(). Use this when
        using the "href" attribute, ensuring the attribute value is always
        wrapped in quotes:
        @code
        // Secure (with quotes):
        $this->placeholderFormat('<a href=":url">@variable</a>', [':url' => $url, '@variable' => $variable]);
        // Insecure (without quotes):
        $this->placeholderFormat('<a href=:url>@variable</a>', [':url' => $url, '@variable' => $variable]);
        @endcode
        When ":variable" comes from arbitrary user input, the result is secure,
        but not guaranteed to be a valid URL (which means the resulting output
        could fail HTML validation). To guarantee a valid URL, use
        Url::fromUri($user_input)->toString() (which either throws an exception
        or returns a well-formed URL) before passing the result into a
        ":variable" placeholder.
        
        @return string
        A formatted HTML string with the placeholders replaced.
        
        @ingroup sanitization
        
        @see \Drupal\Core\StringTranslation\TranslatableMarkup
        @see \Drupal\Core\StringTranslation\PluralTranslatableMarkup
        @see \Drupal\Component\Utility\Html::escape()
        @see \Drupal\Component\Utility\UrlHelper::stripDangerousProtocols()
        @see \Drupal\Core\Url::fromUri()
        
        Inherited from Drupal\Component\Render\FormattableMarkup
        Defined in .../core/lib/Drupal/Component/Render/FormattableMarkup.php:188
        protected _die()
        For test purposes, wrap die() in an overridable method.
        
        Defined in .../core/lib/Drupal/Component/Utility/ToStringTrait.php:31
        protected getStringTranslation() -> \Drupal\Core\StringTranslation\TranslationInterface
        Gets the string translation service.
        
        @return \Drupal\Core\StringTranslation\TranslationInterface
        The string translation service.
        
        Defined in .../core/lib/Drupal/Core/StringTranslation/TranslatableMarkup.php:222
      'translatable' => boolTRUE
      'display' => array(1)
      'form' => array(2)
      'options' => array(2)
      *DEPTH TOO GREAT*
      'configurable' => boolTRUE
      'computed' => boolTRUE
      'provider' => string(4) "path"
      'field_name' => string(4) "path"
      'entity_type' => string(13) "taxonomy_term"
      'bundle' => NULL
    • public static create($type) -> static
      Creates a new field definition.
      
      @param string $type
      The type of the field.
      
      @return static
      A new field definition object.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:56
      public static createFromDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:33
      public static createFromFieldStorageDefinition(Drupal\Core\Field\FieldStorageDefinitionInterface $definition) -> $this
      Creates a new field definition based upon a field storage definition.
      
      In cases where one needs a field storage definitions to act like full
      field definitions, this creates a new field definition based upon the
      (limited) information available. That way it is possible to use the field
      definition in places where a full field definition is required; e.g., with
      widgets or formatters.
      
      @param \Drupal\Core\Field\FieldStorageDefinitionInterface $definition
      The field storage definition to base the new field definition upon.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:83
      public static createFromItemType($item_type)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:102
      public __construct(array $values = array(), Drupal\Core\TypedData\DataDefinitionInterface $item_definition = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:50
      public __sleep()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:579
      public addConstraint($constraint_name, $options = NULL)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:284
      public addPropertyConstraints($name, array $constraints) -> static
      Adds constraints for a given field item property.
      
      Adds a constraint to a property of a base field item. e.g.
      @code
      // Limit the field item's value property to the range 0 through 10.
      // e.g. $node->size->value.
      $field->addPropertyConstraints('value', [
      'Range' => [
      'min' => 0,
      'max' => 10,
      ]
      ]);
      @endcode
      
      If you want to add a validation constraint that applies to the
      \Drupal\Core\Field\FieldItemList, use BaseFieldDefinition::addConstraint()
      instead.
      
      Note: passing a new set of options for an existing property constraint will
      overwrite with the new options.
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      @see \Drupal\Core\Field\BaseFieldDefinition::addConstraint()
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:361
      public getCacheContexts()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:15
      public getCacheMaxAge()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:29
      public getCacheTags()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Cache/UnchangingCacheableDependencyTrait.php:22
      public getCardinality()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:257
      public getClass()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:74
      public getColumns()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:656
      public getConfig($bundle)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:718
      public getConstraint($constraint_name)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:268
      public getConstraints()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:259
      public getDataType()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:58
      public getDefaultValue(Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:454
      public getDefaultValueCallback()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:447
      public getDefaultValueLiteral()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:440
      public getDescription()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:93
      public getDisplayOptions($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:426
      public getFieldStorageDefinition()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:704
      public getItemDefinition()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:94
      public getLabel()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:72
      public getMainPropertyName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:554
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:111
      public getOptionsProvider($property_name, Drupal\Core\Entity\FieldableEntityInterface $entity)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:509
      public getPropertyDefinition($name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:524
      public getPropertyDefinitions()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:536
      public getPropertyNames()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:547
      public getProvider()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:195
      public getSchema()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:629
      public getSetting($setting_name)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:180
      public getSettings()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:139
      public getTargetBundle()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:609
      public getTargetEntityTypeId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:589
      public getType()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:132
      public getUniqueStorageIdentifier()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:711
      public hasCustomStorage()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:670
      public isBaseField()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:677
      public isComputed()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:146
      public isDisplayConfigurable($display_context)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:433
      public isList()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:114
      public isMultiple()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:281
      public isQueryable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:289
      public isReadOnly()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:121
      public isRequired()
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:167
      public isRevisionable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:236
      public isStorageRequired()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:729
      public isTranslatable()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:215
      public offsetExists($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:295
      public &offsetGet($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:307
      public offsetSet($offset, $value)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:320
      public offsetUnset($offset)
      {@inheritdoc}
      
      This is for BC support only.
      @todo: Remove in https://www.drupal.org/node/1928868.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:330
      public setCardinality($cardinality) -> $this
      Sets the maximum number of items allowed for the field.
      
      Possible values are positive integers or
      FieldStorageDefinitionInterface::CARDINALITY_UNLIMITED.
      
      @param int $cardinality
      The field cardinality.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:273
      public setClass($class) -> static
      Sets the class used for creating the typed data object.
      
      @param string|null $class
      The class to use.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:207
      public setComputed($computed) -> static
      Sets whether the data is computed.
      
      @param bool $computed
      Whether the data is computed.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:159
      public setConstraints(array $constraints)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:276
      public setCustomStorage($custom_storage) -> $this
      Sets the storage behavior for this field.
      
      @param bool $custom_storage
      Pass FALSE if the storage takes care of storing the field,
      TRUE otherwise.
      
      @return $this
      
      @throws \LogicException
      Thrown if custom storage is to be set to FALSE for a computed field.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:693
      public setDataType($type)
      {@inheritdoc}
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:65
      public setDefaultValue($value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:478
      public setDefaultValueCallback($callback)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:498
      public setDescription($description) -> static
      Sets the human-readable description.
      
      @param string $description
      The description to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:106
      public setDisplayConfigurable($display_context, $configurable) -> static
      Sets whether the display for the field can be configured.
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param bool $configurable
      Whether the display options can be configured (e.g., via the "Manage
      display" / "Manage form display" UI screens). If TRUE, the options
      specified via getDisplayOptions() act as defaults.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:414
      public setDisplayOptions($display_context, array $options) -> static
      Sets the display options for the field in forms or rendered entities.
      
      This enables generic rendering of the field with widgets / formatters,
      including automated support for "In place editing", and with optional
      configurability in the "Manage display" / "Manage form display" UI screens.
      
      Unless this method is called, the field remains invisible (or requires
      ad-hoc rendering logic).
      
      @param string $display_context
      The display context. Either 'view' or 'form'.
      @param array $options
      An array of display options. Refer to
      \Drupal\Core\Field\FieldDefinitionInterface::getDisplayOptions() for
      a list of supported keys. The options should include at least a 'weight',
      or specify 'type' = 'hidden'. The 'default_widget' / 'default_formatter'
      for the field type will be used if no 'type' is specified.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:396
      public setItemDefinition(Drupal\Core\TypedData\DataDefinitionInterface $definition) -> $this
      Sets the item definition.
      
      @param \Drupal\Core\TypedData\DataDefinition $definition
      A list item's data definition.
      
      @return $this
      
      Inherited from Drupal\Core\TypedData\ListDataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/ListDataDefinition.php:106
      public setLabel($label) -> static
      Sets the human-readable label.
      
      @param string $label
      The label to set.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:85
      public setName($name) -> static
      Sets the field name.
      
      @param string $name
      The field name to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:124
      public setPropertyConstraints($name, array $constraints) -> static
      Sets constraints for a given field item property.
      
      Note: this overwrites any existing property constraints. If you need to
      add to the existing constraints, use
      \Drupal\Core\Field\BaseFieldDefinition::addPropertyConstraints()
      
      @param string $name
      The name of the property to set constraints for.
      @param array $constraints
      The constraints to set.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:322
      public setProvider($provider) -> $this
      Sets the name of the provider of this field.
      
      @param string $provider
      The provider name to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:207
      public setQueryable($queryable) -> static
      Sets whether the field is queryable.
      
      @param bool $queryable
      Whether the field is queryable.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:302
      public setReadOnly($read_only) -> static
      Sets whether the data is read-only.
      
      @param bool $read_only
      Whether the data is read-only.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:138
      public setRequired($required) -> static
      Sets whether the data is required.
      
      @param bool $required
      Whether the data is required.
      
      @return static
      The object itself for chaining.
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:180
      public setRevisionable($revisionable) -> $this
      Sets whether the field is revisionable.
      
      @param bool $revisionable
      Whether the field is revisionable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:249
      public setSetting($setting_name, $value)
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:187
      public setSettings(array $settings)
      {@inheritdoc}
      
      Note that the method does not unset existing settings not specified in the
      incoming $settings array.
      
      For example:
      @code
      // Given these are the default settings.
      $field_definition->getSettings() === [
      'fruit' => 'apple',
      'season' => 'summer',
      ];
      // Change only the 'fruit' setting.
      $field_definition->setSettings(['fruit' => 'banana']);
      // The 'season' setting persists unchanged.
      $field_definition->getSettings() === [
      'fruit' => 'banana',
      'season' => 'summer',
      ];
      @endcode
      
      For clarity, it is preferred to use setSetting() if not all available
      settings are supplied.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:168
      public setStorageRequired($required) -> static
      Sets whether the field storage is required.
      
      @param bool $required
      Whether the field storage is required.
      
      @return static
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:747
      public setTargetBundle($bundle) -> $this
      Sets the bundle this field is defined for.
      
      @param string|null $bundle
      The bundle, or NULL if the field is not bundle-specific.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:621
      public setTargetEntityTypeId($entity_type_id) -> $this
      Sets the ID of the type of the entity this field is attached to.
      
      @param string $entity_type_id
      The name of the target entity type to set.
      
      @return $this
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:601
      public setTranslatable($translatable) -> $this
      Sets whether the field is translatable.
      
      @param bool $translatable
      Whether the field is translatable.
      
      @return $this
      The object itself for chaining.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:228
      public toArray() -> array
      Returns all definition values as array.
      
      @return array
      
      Inherited from Drupal\Core\TypedData\DataDefinition
      Defined in .../core/lib/Drupal/Core/TypedData/DataDefinition.php:339
      protected getFieldItemClass()
      Helper to retrieve the field item class.
      
      @todo: Remove once getClass() adds in defaults. See
      https://www.drupal.org/node/2116341.
      
      Defined in .../core/lib/Drupal/Core/Field/BaseFieldDefinition.php:565
    • constant CARDINALITY_UNLIMITED :: integer-1
    protected languages -> array(4)
    'en' => Drupal\Core\Language\Language(5)
    • contents
    • Available methods (9)
    • Static class properties (15)
    • protected name -> string UTF-8(7) "انگلیسی"
      protected id -> string(2) "en"
      protected direction -> string(3) "ltr"
      protected weight -> integer0
      protected locked -> boolFALSE
    • public static sort(&$languages)
      Sort language objects.
      
      @param \Drupal\Core\Language\LanguageInterface[] $languages
      The array of language objects keyed by langcode.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:146
      public __construct(array $values = array())
      Constructs a new class instance.
      
      @param array $values
      An array of property values, keyed by property name, used to construct
      the language.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:77
      public getDirection()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:115
      public getId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:108
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:101
      public getWeight()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:122
      public isDefault()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:129
      public isLocked()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:136
      protected static getDefaultLangcode() -> string
      Gets the default langcode.
      
      @return string
      The current default langcode.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:173
    • public $defaultValues :: array(5)
      'id' => string(2) "en"
      'name' => string(7) "English"
      'direction' => string(3) "ltr"
      'weight' => integer0
      'locked' => boolFALSE
      constant LANGCODE_SYSTEM :: string(6) "system"
      constant LANGCODE_NOT_SPECIFIED :: string(3) "und"
      constant LANGCODE_NOT_APPLICABLE :: string(3) "zxx"
      constant LANGCODE_DEFAULT :: string(9) "x-default"
      constant LANGCODE_SITE_DEFAULT :: string(12) "site_default"
      constant STATE_CONFIGURABLE :: integer1
      constant STATE_LOCKED :: integer2
      constant STATE_ALL :: integer3
      constant STATE_SITE_DEFAULT :: integer4
      constant TYPE_CONTENT :: string(16) "language_content"
      constant TYPE_INTERFACE :: string(18) "language_interface"
      constant TYPE_URL :: string(12) "language_url"
      constant DIRECTION_LTR :: string(3) "ltr"
      constant DIRECTION_RTL :: string(3) "rtl"
    'fa' => Drupal\Core\Language\Language(5)
    • contents
    • Available methods (9)
    • Static class properties (15)
    • protected name -> string(14) "Persian, Farsi"
      protected id -> string(2) "fa"
      protected direction -> string(3) "rtl"
      protected weight -> integer1
      protected locked -> boolFALSE
    • public static sort(&$languages)
      Sort language objects.
      
      @param \Drupal\Core\Language\LanguageInterface[] $languages
      The array of language objects keyed by langcode.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:146
      public __construct(array $values = array())
      Constructs a new class instance.
      
      @param array $values
      An array of property values, keyed by property name, used to construct
      the language.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:77
      public getDirection()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:115
      public getId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:108
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:101
      public getWeight()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:122
      public isDefault()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:129
      public isLocked()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:136
      protected static getDefaultLangcode() -> string
      Gets the default langcode.
      
      @return string
      The current default langcode.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:173
    • public $defaultValues :: array(5)
      'id' => string(2) "en"
      'name' => string(7) "English"
      'direction' => string(3) "ltr"
      'weight' => integer0
      'locked' => boolFALSE
      constant LANGCODE_SYSTEM :: string(6) "system"
      constant LANGCODE_NOT_SPECIFIED :: string(3) "und"
      constant LANGCODE_NOT_APPLICABLE :: string(3) "zxx"
      constant LANGCODE_DEFAULT :: string(9) "x-default"
      constant LANGCODE_SITE_DEFAULT :: string(12) "site_default"
      constant STATE_CONFIGURABLE :: integer1
      constant STATE_LOCKED :: integer2
      constant STATE_ALL :: integer3
      constant STATE_SITE_DEFAULT :: integer4
      constant TYPE_CONTENT :: string(16) "language_content"
      constant TYPE_INTERFACE :: string(18) "language_interface"
      constant TYPE_URL :: string(12) "language_url"
      constant DIRECTION_LTR :: string(3) "ltr"
      constant DIRECTION_RTL :: string(3) "rtl"
    'und' => Drupal\Core\Language\Language(5)
    • contents
    • Available methods (9)
    • Static class properties (15)
    • protected name -> string UTF-8(9) "مشخص نشده"
      protected id -> string(3) "und"
      protected direction -> string(3) "ltr"
      protected weight -> integer2
      protected locked -> boolTRUE
    • public static sort(&$languages)
      Sort language objects.
      
      @param \Drupal\Core\Language\LanguageInterface[] $languages
      The array of language objects keyed by langcode.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:146
      public __construct(array $values = array())
      Constructs a new class instance.
      
      @param array $values
      An array of property values, keyed by property name, used to construct
      the language.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:77
      public getDirection()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:115
      public getId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:108
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:101
      public getWeight()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:122
      public isDefault()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:129
      public isLocked()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:136
      protected static getDefaultLangcode() -> string
      Gets the default langcode.
      
      @return string
      The current default langcode.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:173
    • public $defaultValues :: array(5)
      'id' => string(2) "en"
      'name' => string(7) "English"
      'direction' => string(3) "ltr"
      'weight' => integer0
      'locked' => boolFALSE
      constant LANGCODE_SYSTEM :: string(6) "system"
      constant LANGCODE_NOT_SPECIFIED :: string(3) "und"
      constant LANGCODE_NOT_APPLICABLE :: string(3) "zxx"
      constant LANGCODE_DEFAULT :: string(9) "x-default"
      constant LANGCODE_SITE_DEFAULT :: string(12) "site_default"
      constant STATE_CONFIGURABLE :: integer1
      constant STATE_LOCKED :: integer2
      constant STATE_ALL :: integer3
      constant STATE_SITE_DEFAULT :: integer4
      constant TYPE_CONTENT :: string(16) "language_content"
      constant TYPE_INTERFACE :: string(18) "language_interface"
      constant TYPE_URL :: string(12) "language_url"
      constant DIRECTION_LTR :: string(3) "ltr"
      constant DIRECTION_RTL :: string(3) "rtl"
    'zxx' => Drupal\Core\Language\Language(5)
    • contents
    • Available methods (9)
    • Static class properties (15)
    • protected name -> string UTF-8(16) "غیر قابل استفاده"
      protected id -> string(3) "zxx"
      protected direction -> string(3) "ltr"
      protected weight -> integer3
      protected locked -> boolTRUE
    • public static sort(&$languages)
      Sort language objects.
      
      @param \Drupal\Core\Language\LanguageInterface[] $languages
      The array of language objects keyed by langcode.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:146
      public __construct(array $values = array())
      Constructs a new class instance.
      
      @param array $values
      An array of property values, keyed by property name, used to construct
      the language.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:77
      public getDirection()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:115
      public getId()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:108
      public getName()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:101
      public getWeight()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:122
      public isDefault()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:129
      public isLocked()
      {@inheritdoc}
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:136
      protected static getDefaultLangcode() -> string
      Gets the default langcode.
      
      @return string
      The current default langcode.
      
      Defined in .../core/lib/Drupal/Core/Language/Language.php:173
    • public $defaultValues :: array(5)
      'id' => string(2) "en"
      'name' => string(7) "English"
      'direction' => string(3) "ltr"
      'weight' => integer0
      'locked' => boolFALSE
      constant LANGCODE_SYSTEM :: string(6) "system"
      constant LANGCODE_NOT_SPECIFIED :: string(3) "und"
      constant LANGCODE_NOT_APPLICABLE :: string(3) "zxx"
      constant LANGCODE_DEFAULT :: string(9) "x-default"
      constant LANGCODE_SITE_DEFAULT :: string(12) "site_default"
      constant STATE_CONFIGURABLE :: integer1
      constant STATE_LOCKED :: integer2
      constant STATE_ALL :: integer3
      constant STATE_SITE_DEFAULT :: integer4
      constant TYPE_CONTENT :: string(16) "language_content"
      constant TYPE_INTERFACE :: string(18) "language_interface"
      constant TYPE_URL :: string(12) "language_url"
      constant DIRECTION_LTR :: string(3) "ltr"
      constant DIRECTION_RTL :: string(3) "rtl"
    protected langcodeKey -> string(8) "langcode"
    protected defaultLangcodeKey -> string(16) "default_langcode"
    protected activeLangcode -> string(9) "x-default"
    protected defaultLangcode -> string(2) "fa"
    protected translations -> array(1)
    'x-default' => array(1)
    'status' => integer1
    protected translationInitialize -> boolFALSE
    protected newRevision -> boolFALSE
    protected isDefaultRevision -> boolTRUE
    protected entityKeys -> array(3)
    'bundle' => string(4) "tags"
    'id' => string(3) "536"
    'uuid' => string(36) "83c3a2f6-ba5b-4317-be35-8a19d5bfac8b"
    protected translatableEntityKeys -> array(3)
     x-default
    "label""فیلتر پریزما"
    "langcode""fa"
    "default_langcode""1"
    protected validated -> boolFALSE
    protected validationRequired -> boolFALSE
    protected loadedRevisionId -> NULL
    protected entityTypeId -> string(13) "taxonomy_term"
    protected enforceIsNew -> NULL
    protected typedData -> NULL
    protected cacheContexts -> array(0)
    protected cacheTags -> array(0)
    protected cacheMaxAge -> integer-1
    protected _serviceIds -> array(0)
  • public static baseFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type)
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:103
    public static bundleFieldDefinitions(Drupal\Core\Entity\EntityTypeInterface $entity_type, $bundle, array $base_field_definitions)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1277
    public static create(array $values = array())
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:513
    public static load($id)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:497
    public static loadMultiple(array $ids = NULL)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:505
    public static postDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $entities)
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:60
    public static postLoad(Drupal\Core\Entity\EntityStorageInterface $storage, array &$entities)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:448
    public static preCreate(Drupal\Core\Entity\EntityStorageInterface $storage, array &$values)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:423
    public static preDelete(Drupal\Core\Entity\EntityStorageInterface $storage, array $entities)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:435
    public __clone()
    Magic method: Implements a deep clone.
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1064
    public __construct(array $values, $entity_type, $bundle = false, $translations = array())
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:162
    public &__get($name)
    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 .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:953
    public __isset($name)
    Implements the magic method for isset().
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1014
    public __set($name, $value)
    Implements the magic method for setting object properties.
    
    Uses default language always.
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:980
    public __sleep()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:442
    public __unset($name)
    Implements the magic method for unset().
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1023
    public __wakeup()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:46
    public access($operation, Drupal\Core\Session\AccountInterface $account = NULL, $return_as_object = false)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:623
    public addCacheContexts(array $cache_contexts)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:71
    public addCacheTags(array $cache_tags)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:81
    public addCacheableDependency($other_object)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:55
    public addTranslation($langcode, array $values = array())
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:858
    public bundle()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:467
    public createDuplicate()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1037
    public delete()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:370
    public enforceIsNew($value = true)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:132
    public get($field_name)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:488
    public getCacheContexts()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:461
    public getCacheMaxAge()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:490
    public getCacheTags()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:480
    public getCacheTagsToInvalidate()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:468
    public getChangedTime() -> int
    Gets the timestamp of the last entity change for the current translation.
    
    @return int
    The timestamp of the last entity save operation.
    
    Defined in .../core/lib/Drupal/Core/Entity/EntityChangedTrait.php:32
    public getChangedTimeAcrossTranslations() -> int
    Returns the timestamp of the last entity change across all translations.
    
    @return int
    The timestamp of the last entity save operation across all
    translations.
    
    Defined in .../core/lib/Drupal/Core/Entity/EntityChangedTrait.php:17
    public getConfigDependencyKey()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:613
    public getConfigDependencyName()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:620
    public getConfigTarget()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:627
    public getDescription()
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:171
    public getEntityType()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:396
    public getEntityTypeId()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:141
    public getFieldDefinition($name)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:590
    public getFieldDefinitions()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:602
    public getFields($include_computed = true)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:557
    public getFormat()
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:186
    public getIterator()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:583
    public getLoadedRevisionId()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:289
    public getName()
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:201
    public getOriginalId()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:565
    public getRevisionId()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:350
    public getTranslatableFields($include_computed = true)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:570
    public getTranslation($langcode)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:757
    public getTranslationLanguages($include_default = true)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:918
    public getTranslationStatus($langcode)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:908
    public getTypedData()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:594
    public getUntranslated()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:792
    public getVocabularyId()
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:231
    public getWeight()
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:216
    public hasField($field_name)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:481
    public hasLinkTemplate($rel)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:240
    public hasTranslation($langcode)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:841
    public hasTranslationChanges()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1309
    public id()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:460
    public isDefaultRevision($new_value = NULL)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:311
    public isDefaultTranslation()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:343
    public isNew()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:125
    public isNewRevision()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:304
    public isNewTranslation()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:851
    public isRevisionTranslationAffected()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:324
    public isTranslatable()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:357
    public isValidationRequired()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:418
    public label()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1143
    public language()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:637
    public link($text = NULL, $rel = canonical, array $options = array())
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:258
    public mergeCacheMaxAge($max_age)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Cache/RefinableCacheableDependencyTrait.php:91
    public onChange($name)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:703
    public postCreate(Drupal\Core\Entity\EntityStorageInterface $storage)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:256
    public postSave(Drupal\Core\Entity\EntityStorageInterface $storage, $update = true)
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:89
    public preSave(Drupal\Core\Entity\EntityStorageInterface $storage)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:367
    public preSaveRevision(Drupal\Core\Entity\EntityStorageInterface $storage, stdClass $record)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:384
    public referencedEntities()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1158
    public removeTranslation($langcode)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:879
    public save()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:363
    public set($name, $value, $notify = true)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:546
    public setChangedTime($timestamp) -> $this
    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
    
    Defined in .../core/lib/Drupal/Core/Entity/EntityChangedTrait.php:44
    public setDescription($description)
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:178
    public setFormat($format)
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:193
    public setName($name)
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:208
    public setNewRevision($value = true)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:263
    public setOriginalId($id)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:573
    public setRevisionTranslationAffected($affected)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:332
    public setValidationRequired($required)
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:425
    public setWeight($weight)
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:223
    public toArray()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:612
    public toLink($text = NULL, $rel = canonical, array $options = array())
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:265
    public toUrl($rel = canonical, array $options = array())
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:177
    public traitSleep()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/DependencyInjection/DependencySerializationTrait.php:22
    public updateLoadedRevisionId()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:296
    public updateOriginalValues()
    Updates the original values with the interim changes.
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:933
    public uriRelationships()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:325
    public url($rel = canonical, $options = array())
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:278
    public urlInfo($rel = canonical, array $options = array())
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:170
    public uuid()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:474
    public validate()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:409
    protected static invalidateTagsOnDelete(Drupal\Core\Entity\EntityTypeInterface $entity_type, array $entities)
    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\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:549
    protected clearTranslationCache()
    Clear entity translation object cache to remove stale references.
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:433
    protected entityManager() -> \Drupal\Core\Entity\EntityManagerInterface
    Gets the entity manager.
    
    @return \Drupal\Core\Entity\EntityManagerInterface
    
    @deprecated in Drupal 8.0.0 and will be removed before Drupal 9.0.0.
    Use \Drupal::entityTypeManager() instead in most cases. If the needed
    method is not on \Drupal\Core\Entity\EntityTypeManagerInterface, see the
    deprecated \Drupal\Core\Entity\EntityManager to find the
    correct interface or service.
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:77
    protected entityTypeManager() -> \Drupal\Core\Entity\EntityTypeManagerInterface
    Gets the entity type manager.
    
    @return \Drupal\Core\Entity\EntityTypeManagerInterface
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:86
    protected getEntityKey($key) -> mixed
    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 .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:1185
    protected getFieldsToSkipFromTranslationChangesCheck()
    {@inheritdoc}
    
    Defined in .../core/modules/taxonomy/src/Entity/Term.php:238
    protected getLanguages()
    {@inheritdoc}
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:240
    protected getTranslatedField($name, $langcode) -> \Drupal\Core\Field\FieldItemListInterface
    Gets a translated field.
    
    @return \Drupal\Core\Field\FieldItemListInterface
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:500
    protected initializeTranslation($langcode) -> \Drupal\Core\Entity\EntityInterface
    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 .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:810
    protected invalidateTagsOnSave($update)
    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\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:524
    protected languageManager() -> \Drupal\Core\Language\LanguageManagerInterface
    Gets the language manager.
    
    @return \Drupal\Core\Language\LanguageManagerInterface
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:95
    protected linkTemplates() -> array
    Gets an array link templates.
    
    @return array
    An array of link templates containing paths.
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:251
    protected setDefaultLangcode()
    Populates the local cache for the default language code.
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:659
    protected updateFieldLangcodes($langcode)
    Updates language for already instantiated fields.
    
    Inherited from Drupal\Core\Entity\ContentEntityBase
    Defined in .../core/lib/Drupal/Core/Entity/ContentEntityBase.php:692
    protected urlRouteParameters($rel) -> array
    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\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:304
    protected uuidGenerator() -> \Drupal\Component\Uuid\UuidInterface
    Gets the UUID generator.
    
    @return \Drupal\Component\Uuid\UuidInterface
    
    Inherited from Drupal\Core\Entity\Entity
    Defined in .../core/lib/Drupal/Core/Entity/Entity.php:104
  • constant TRANSLATION_REMOVED :: integer0
    constant TRANSLATION_EXISTING :: integer1
    constant TRANSLATION_CREATED :: integer2
  • 'tid' => Drupal\Core\Field\FieldItemList(7)
    protected list -> array(1)
    Drupal\Core\Field\Plugin\Field\FieldType\IntegerItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected definition -> array(2)
    *DEPTH TOO GREAT*
    protected values -> array(1)
    'value' => string(3) "536"
    protected properties -> array(0)
    protected name -> integer0
    protected parent -> Drupal\Core\Field\FieldItemList(7) *RECURSION*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22)
    protected validator -> NULL
    protected constraintManager -> Drupal\Core\Validation\ConstraintManager(17)
    *DEPTH TOO GREAT*
    protected prototypes -> array(23)
    *DEPTH TOO GREAT*
    protected classResolver -> Drupal\Core\DependencyInjection\ClassResolver(3)
    *DEPTH TOO GREAT*
    protected cacheKey -> string(24) "typed_data_types_plugins"
    protected cacheTags -> array(0)
    protected alterHook -> string(14) "data_type_info"
    protected subdir -> string(15) "Plugin/DataType"
    protected moduleHandler -> Drupal\Core\Extension\ModuleHandler(12)
    *DEPTH TOO GREAT*
    protected defaults -> array(0)
    protected pluginDefinitionAnnotationName -> string(41) "Drupal\Core\TypedData\Annotation\DataType"
    protected pluginInterface -> NULL
    protected namespaces -> ArrayObject(109)
    *DEPTH TOO GREAT*
    protected additionalAnnotationNamespaces -> array(0)
    protected discovery -> NULL
    protected factory -> NULL
    protected mapper -> NULL
    protected definitions -> array(292)
    *DEPTH TOO GREAT*
    protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend(4)
    *DEPTH TOO GREAT*
    protected useCaches -> boolTRUE
    protected _serviceIds -> array(0)
    public _serviceId -> string(18) "typed_data_manager"
    protected langcode -> string(2) "fa"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    protected type -> string(7) "integer"
    protected propertyDefinitions -> array(1)
    'value' => Drupal\Core\TypedData\DataDefinition(1)
    protected definition -> array(3)
    *DEPTH TOO GREAT*
    protected schema -> NULL
    protected indexes -> array(0)
    protected itemDefinition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    protected fieldDefinition -> Drupal\Core\Field\BaseFieldDefinition(6) *RECURSION*
    protected definition -> array(2)
    'type' => string(18) "field_item:integer"
    'settings' => array(6)
    *DEPTH TOO GREAT*
    protected definition -> array(7)
    'label' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
    protected string -> string(7) "Term ID"
    protected translatedMarkup -> NULL
    protected options -> array(0)
    protected stringTranslation -> NULL
    protected arguments -> array(0)
    'read-only' => boolTRUE
    'description' => Drupal\Core\StringTranslation\TranslatableMarkup(5)
    protected string -> string(12) "The term ID."
    protected translatedMarkup -> NULL
    protected options -> array(0)
    protected stringTranslation -> NULL
    protected arguments -> array(0)
    'provider' => string(8) "taxonomy"
    'field_name' => string(3) "tid"
    'entity_type' => string(13) "taxonomy_term"
    'bundle' => NULL
    protected name -> string(3) "tid"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    protected entity -> Drupal\taxonomy\Entity\Term(24) *RECURSION*
    protected definition -> Drupal\Core\Entity\TypedData\EntityDataDefinition(2)
    protected propertyDefinitions -> array(11)
    'tid' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'uuid' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'langcode' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'vid' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'name' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'description' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'weight' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'parent' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'changed' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'default_langcode' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    'path' => Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected definition -> array(1)
    'constraints' => array(2)
    *DEPTH TOO GREAT*
    protected name -> NULL
    protected parent -> NULL
    protected stringTranslation -> NULL
    protected typedDataManager -> NULL
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22)
    protected validator -> NULL
    protected constraintManager -> Drupal\Core\Validation\ConstraintManager(17)
    protected cacheKey -> string(29) "validation_constraint_plugins"
    protected cacheTags -> array(0)
    protected alterHook -> string(21) "validation_constraint"
    protected subdir -> string(28) "Plugin/Validation/Constraint"
    protected moduleHandler -> Drupal\Core\Extension\ModuleHandler(12)
    protected loadedFiles -> array(97)
    *DEPTH TOO GREAT*
    protected moduleList -> array(97)
    *DEPTH TOO GREAT*
    protected loaded -> boolTRUE
    protected implementations -> array(820)
    *DEPTH TOO GREAT*
    protected verified -> array(3)
    *DEPTH TOO GREAT*
    protected hookInfo -> NULL
    protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend(4)
    *DEPTH TOO GREAT*
    protected cacheNeedsWriting -> boolFALSE
    protected alterFunctions -> NULL
    protected root -> string(31) "/homepages/17/d696219618/htdocs"
    protected includeFileKeys -> array(0)
    public _serviceId -> string(14) "module_handler"
    protected defaults -> array(0)
    protected pluginDefinitionAnnotationName -> string(44) "Drupal\Core\Validation\Annotation\Constraint"
    protected pluginInterface -> NULL
    protected namespaces -> ArrayObject(110)
    public Drupal\action -> string(23) "core/modules/action/src"
    public Drupal\address -> string(27) "modules/contrib/address/src"
    public Drupal\admin_toolbar -> string(33) "modules/contrib/admin_toolbar/src"
    public Drupal\admin_toolbar_tools -> string(53) "modules/contrib/admin_toolbar/admin_toolbar_tools/src"
    public Drupal\adminimal_admin_toolbar -> string(43) "modules/contrib/adminimal_admin_toolbar/src"
    public Drupal\automated_cron -> string(31) "core/modules/automated_cron/src"
    public Drupal\block -> string(22) "core/modules/block/src"
    public Drupal\block_content -> string(30) "core/modules/block_content/src"
    public Drupal\bootstrap_carousel_if -> string(41) "modules/contrib/bootstrap_carousel_if/src"
    public Drupal\bootstrap_layouts -> string(37) "modules/contrib/bootstrap_layouts/src"
    public Drupal\breakpoint -> string(27) "core/modules/breakpoint/src"
    public Drupal\ckeditor -> string(25) "core/modules/ckeditor/src"
    public Drupal\color_field -> string(31) "modules/contrib/color_field/src"
    public Drupal\colorbox -> string(28) "modules/contrib/colorbox/src"
    public Drupal\comment -> string(24) "core/modules/comment/src"
    public Drupal\commerce -> string(28) "modules/contrib/commerce/src"
    public Drupal\commerce_cart -> string(41) "modules/contrib/commerce/modules/cart/src"
    public Drupal\commerce_checkout -> string(45) "modules/contrib/commerce/modules/checkout/src"
    public Drupal\commerce_order -> string(42) "modules/contrib/commerce/modules/order/src"
    public Drupal\commerce_payment -> string(44) "modules/contrib/commerce/modules/payment/src"
    public Drupal\commerce_price -> string(42) "modules/contrib/commerce/modules/price/src"
    public Drupal\commerce_product -> string(44) "modules/contrib/commerce/modules/product/src"
    public Drupal\commerce_promotion -> string(46) "modules/contrib/commerce/modules/promotion/src"
    public Drupal\commerce_store -> string(42) "modules/contrib/commerce/modules/store/src"
    public Drupal\commerce_tax -> string(40) "modules/contrib/commerce/modules/tax/src"
    public Drupal\config -> string(23) "core/modules/config/src"
    public Drupal\contact -> string(24) "core/modules/contact/src"
    public Drupal\contextual -> string(27) "core/modules/contextual/src"
    public Drupal\cshs -> string(24) "modules/contrib/cshs/src"
    public Drupal\datetime -> string(25) "core/modules/datetime/src"
    public Drupal\dblog -> string(22) "core/modules/dblog/src"
    public Drupal\dev_product_spec -> string(35) "modules/custom/dev_product_spec/src"
    public Drupal\devel -> string(25) "modules/contrib/devel/src"
    public Drupal\double_field -> string(32) "modules/contrib/double_field/src"
    public Drupal\ds -> string(22) "modules/contrib/ds/src"
    public Drupal\dynamic_page_cache -> string(35) "core/modules/dynamic_page_cache/src"
    public Drupal\editor -> string(23) "core/modules/editor/src"
    public Drupal\entity -> string(26) "modules/contrib/entity/src"
    public Drupal\entity_clone -> string(32) "modules/contrib/entity_clone/src"
    public Drupal\entity_reference_revisions -> string(46) "modules/contrib/entity_reference_revisions/src"
    public Drupal\facets -> string(26) "modules/contrib/facets/src"
    public Drupal\facets_range_widget -> string(54) "modules/contrib/facets/modules/facets_range_widget/src"
    public Drupal\field -> string(22) "core/modules/field/src"
    public Drupal\field_collection -> string(36) "modules/contrib/field_collection/src"
    public Drupal\field_group -> string(31) "modules/contrib/field_group/src"
    public Drupal\field_ui -> string(25) "core/modules/field_ui/src"
    public Drupal\file -> string(21) "core/modules/file/src"
    public Drupal\filter -> string(23) "core/modules/filter/src"
    public Drupal\fontawesome -> string(31) "modules/contrib/fontawesome/src"
    public Drupal\fontawesome_menu_icons -> string(42) "modules/contrib/fontawesome_menu_icons/src"
    public Drupal\history -> string(24) "core/modules/history/src"
    public Drupal\image -> string(22) "core/modules/image/src"
    public Drupal\import_product_excel -> string(39) "modules/custom/import_product_excel/src"
    public Drupal\inline_entity_form -> string(38) "modules/contrib/inline_entity_form/src"
    public Drupal\jalalidate -> string(43) "modules/contrib/persiantools/jalalidate/src"
    public Drupal\kint -> string(30) "modules/contrib/devel/kint/src"
    public Drupal\language -> string(25) "core/modules/language/src"
    public Drupal\layout_discovery -> string(33) "core/modules/layout_discovery/src"
    public Drupal\libraries -> string(29) "modules/contrib/libraries/src"
    public Drupal\link -> string(21) "core/modules/link/src"
    public Drupal\link_attributes -> string(35) "modules/contrib/link_attributes/src"
    public Drupal\locale -> string(23) "core/modules/locale/src"
    public Drupal\media_entity -> string(32) "modules/contrib/media_entity/src"
    public Drupal\menu_ui -> string(24) "core/modules/menu_ui/src"
    public Drupal\node -> string(21) "core/modules/node/src"
    public Drupal\options -> string(24) "core/modules/options/src"
    public Drupal\page_cache -> string(27) "core/modules/page_cache/src"
    public Drupal\path -> string(21) "core/modules/path/src"
    public Drupal\profile -> string(27) "modules/contrib/profile/src"
    public Drupal\rules -> string(25) "modules/contrib/rules/src"
    public Drupal\search_api -> string(30) "modules/contrib/search_api/src"
    public Drupal\search_api_db -> string(52) "modules/contrib/search_api/modules/search_api_db/src"
    public Drupal\search_api_views_taxonomy -> string(64) "modules/contrib/search_api/modules/search_api_views_taxonomy/src"
    public Drupal\shortcut -> string(25) "core/modules/shortcut/src"
    public Drupal\shs -> string(23) "modules/contrib/shs/src"
    public Drupal\simple_menu_icons -> string(37) "modules/contrib/simple_menu_icons/src"
    public Drupal\simplenews -> string(30) "modules/contrib/simplenews/src"
    public Drupal\state_machine -> string(33) "modules/contrib/state_machine/src"
    public Drupal\system -> string(23) "core/modules/system/src"
    public Drupal\taxonomy -> string(25) "core/modules/taxonomy/src"
    public Drupal\taxonomy_manager -> string(36) "modules/contrib/taxonomy_manager/src"
    public Drupal\text -> string(21) "core/modules/text/src"
    public Drupal\token -> string(25) "modules/contrib/token/src"
    public Drupal\toolbar -> string(24) "core/modules/toolbar/src"
    public Drupal\typed_data -> string(30) "modules/contrib/typed_data/src"
    public Drupal\update -> string(23) "core/modules/update/src"
    public Drupal\user -> string(21) "core/modules/user/src"
    public Drupal\videojs -> string(27) "modules/contrib/videojs/src"
    public Drupal\views_bootstrap -> string(35) "modules/contrib/views_bootstrap/src"
    public Drupal\views_ui -> string(25) "core/modules/views_ui/src"
    public Drupal\menu_link_content -> string(34) "core/modules/menu_link_content/src"
    public Drupal\ds_extras -> string(40) "modules/contrib/ds/modules/ds_extras/src"
    public Drupal\views -> string(22) "core/modules/views/src"
    public Drupal\paragraphs -> string(30) "modules/contrib/paragraphs/src"
    public Drupal\linked_field -> string(32) "modules/contrib/linked_field/src"
    public Drupal\empty_page -> string(30) "modules/contrib/empty_page/src"
    public Drupal\standard -> string(26) "core/profiles/standard/src"
    public Drupal\Core\Block -> string(26) "core/lib/Drupal/Core/Block"
    public Drupal\Core\Config -> string(27) "core/lib/Drupal/Core/Config"
    public Drupal\Core\Datetime -> string(29) "core/lib/Drupal/Core/Datetime"
    public Drupal\Core\Entity -> string(27) "core/lib/Drupal/Core/Entity"
    public Drupal\Core\Field -> string(26) "core/lib/Drupal/Core/Field"
    public Drupal\Core\Mail -> string(25) "core/lib/Drupal/Core/Mail"
    public Drupal\Core\Menu -> string(25) "core/lib/Drupal/Core/Menu"
    public Drupal\Core\ProxyClass -> string(31) "core/lib/Drupal/Core/ProxyClass"
    public Drupal\Core\Render -> string(27) "core/lib/Drupal/Core/Render"
    public Drupal\Core\TypedData -> string(30) "core/lib/Drupal/Core/TypedData"
    public Drupal\Core\Validation -> string(31) "core/lib/Drupal/Core/Validation"
    public Drupal\Component\Annotation -> string(36) "core/lib/Drupal/Component/Annotation"
    public _serviceId -> string(20) "container.namespaces"
    protected additionalAnnotationNamespaces -> array(0)
    protected discovery -> NULL
    protected factory -> NULL
    protected mapper -> NULL
    protected definitions -> NULL
    protected cacheBackend -> Drupal\Core\Cache\DatabaseBackend(4)
    protected bin -> string(15) "cache_discovery"
    protected connection -> Drupal\Core\Database\Driver\mysql\Connection(20)
    *DEPTH TOO GREAT*
    protected checksumProvider -> Drupal\Core\Cache\DatabaseCacheTagsChecksum(4)
    *DEPTH TOO GREAT*
    public _serviceId -> string(15) "cache.discovery"
    protected useCaches -> boolTRUE
    public _serviceId -> string(21) "validation.constraint"
    protected prototypes -> array(23)
    'entity:taxonomy_term:tags:.tid' => Drupal\Core\Field\FieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(3) "tid"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:tid.0' => Drupal\Core\Field\Plugin\Field\FieldType\IntegerItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(0)
    protected name -> integer0
    protected parent -> Drupal\Core\Field\FieldItemList(7) *RECURSION*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.uuid' => Drupal\Core\Field\FieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(4) "uuid"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:uuid.0' => Drupal\Core\Field\Plugin\Field\FieldType\UuidItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(0)
    protected name -> integer0
    protected parent -> Drupal\Core\Field\FieldItemList(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.langcode' => Drupal\Core\Field\FieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(8) "langcode"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:langcode.0.language' => Drupal\Core\TypedData\Plugin\DataType\LanguageReference(6)
    protected target -> NULL
    protected definition -> Drupal\Core\TypedData\DataReferenceDefinition(2)
    *DEPTH TOO GREAT*
    protected name -> string(8) "language"
    protected parent -> Drupal\language\DefaultLanguageItem(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:langcode.0' => Drupal\language\DefaultLanguageItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(1)
    *DEPTH TOO GREAT*
    protected name -> integer0
    protected parent -> Drupal\Core\Field\FieldItemList(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.vid' => Drupal\Core\Field\EntityReferenceFieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(3) "vid"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:vid.0.entity' => Drupal\Core\Entity\Plugin\DataType\EntityReference(7)
    protected id -> NULL
    protected target -> NULL
    protected definition -> Drupal\Core\TypedData\DataReferenceDefinition(2)
    *DEPTH TOO GREAT*
    protected name -> string(6) "entity"
    protected parent -> Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:vid.0' => Drupal\Core\Field\Plugin\Field\FieldType\EntityReferenceItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(1)
    *DEPTH TOO GREAT*
    protected name -> integer0
    protected parent -> Drupal\Core\Field\EntityReferenceFieldItemList(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.name' => Drupal\Core\Field\FieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(4) "name"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:name.0' => Drupal\Core\Field\Plugin\Field\FieldType\StringItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(0)
    protected name -> integer0
    protected parent -> Drupal\Core\Field\FieldItemList(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.description' => Drupal\Core\Field\FieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(11) "description"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:description.0.processed' => Drupal\text\TextProcessed(6)
    protected processed -> NULL
    protected definition -> Drupal\Core\TypedData\DataDefinition(1)
    *DEPTH TOO GREAT*
    protected name -> string(9) "processed"
    protected parent -> Drupal\text\Plugin\Field\FieldType\TextLongItem(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:description.0' => Drupal\text\Plugin\Field\FieldType\TextLongItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(1)
    *DEPTH TOO GREAT*
    protected name -> integer0
    protected parent -> Drupal\Core\Field\FieldItemList(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.weight' => Drupal\Core\Field\FieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(6) "weight"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:weight.0' => Drupal\Core\Field\Plugin\Field\FieldType\IntegerItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(0)
    protected name -> integer0
    protected parent -> Drupal\Core\Field\FieldItemList(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.parent' => Drupal\Core\Field\EntityReferenceFieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(6) "parent"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.changed' => Drupal\Core\Field\ChangedFieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(7) "changed"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:changed.0' => Drupal\Core\Field\Plugin\Field\FieldType\ChangedItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(0)
    protected name -> integer0
    protected parent -> Drupal\Core\Field\ChangedFieldItemList(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.default_langcode' => Drupal\Core\Field\FieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(16) "default_langcode"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:default_langcode.0' => Drupal\Core\Field\Plugin\Field\FieldType\BooleanItem(7)
    protected definition -> Drupal\Core\Field\TypedData\FieldItemDataDefinition(2)
    *DEPTH TOO GREAT*
    protected values -> array(0)
    protected properties -> array(0)
    protected name -> integer0
    protected parent -> Drupal\Core\Field\FieldItemList(7)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    'entity:taxonomy_term:tags:.path' => Drupal\path\Plugin\Field\FieldType\PathFieldItemList(7)
    protected list -> array(0)
    protected langcode -> string(3) "und"
    protected definition -> Drupal\Core\Field\BaseFieldDefinition(6)
    *DEPTH TOO GREAT*
    protected name -> string(4) "path"
    protected parent -> Drupal\Core\Entity\Plugin\DataType\EntityAdapter(6)
    *DEPTH TOO GREAT*
    protected stringTranslation -> NULL
    protected typedDataManager -> Drupal\Core\TypedData\TypedDataManager(22) *RECURSION*
    protected classResolver -> Drupal\Core\DependencyInjection\ClassResolver(3)
    protected _serviceIds -> array(0)
    protected container -> Drupal\Core\DependencyInjection\Container(7)
    protected parameters -> array(21)
    *DEPTH TOO GREAT*
    protected aliases -> array(4)
    *DEPTH TOO GREAT*
    protected serviceDefinitions -> array(689)
    *DEPTH TOO GREAT*
    protected services -> array(175)
    *DEPTH TOO GREAT*
    protected privateServices -> array(2)
    *DEPTH TOO GREAT*
    protected loading -> array(0)
    protected frozen -> boolTRUE
    public _serviceId -> string(14) "class_resolver"
    protected cacheKey -> string(24) "typed_data_types_plugins"
    protected cacheTags -> array(0)
    protected alterHook -> string(14) "data_type_info"
    protected subdir -> string(15) "Plugin/DataType"
    protected moduleHandler -> Drupal\Core\Extension\ModuleHandler(12)
    protected loadedFiles -> array(97)
    'action' => boolTRUE
    'address' => boolTRUE
    'admin_toolbar' => boolTRUE
    'admin_toolbar_tools' => boolTRUE
    'adminimal_admin_toolbar' => boolTRUE
    'automated_cron' => boolTRUE
    'block' => boolTRUE
    'block_content' => boolTRUE
    'bootstrap_carousel_if' => boolTRUE
    'bootstrap_layouts' => boolTRUE
    'breakpoint' => boolTRUE
    'ckeditor' => boolTRUE
    'color_field' => boolTRUE
    'colorbox' => boolTRUE
    'comment' => boolTRUE
    'commerce' => boolTRUE
    'commerce_cart' => boolTRUE
    'commerce_checkout' => boolTRUE
    'commerce_order' => boolTRUE
    'commerce_payment' => boolTRUE
    'commerce_price' => boolTRUE
    'commerce_product' => boolTRUE
    'commerce_promotion' => boolTRUE
    'commerce_store' => boolTRUE
    'commerce_tax' => boolTRUE
    'config' => boolTRUE
    'contact' => boolTRUE
    'contextual' => boolTRUE
    'cshs' => boolTRUE
    'datetime' => boolTRUE
    'dblog' => boolTRUE
    'dev_product_spec' => boolTRUE
    'devel' => boolTRUE
    'double_field' => boolTRUE
    'ds' => boolTRUE
    'dynamic_page_cache' => boolTRUE
    'editor' => boolTRUE
    'entity' => boolTRUE
    'entity_clone' => boolTRUE
    'entity_reference_revisions' => boolTRUE
    'facets' => boolTRUE
    'facets_range_widget' => boolTRUE
    'field' => boolTRUE
    'field_collection' => boolTRUE
    'field_group' => boolTRUE
    'field_ui' => boolTRUE
    'file' => boolTRUE
    'filter' => boolTRUE
    'fontawesome' => boolTRUE
    'fontawesome_menu_icons' => boolTRUE
    'history' => boolTRUE
    'image' => boolTRUE
    'import_product_excel' => boolTRUE
    'inline_entity_form' => boolTRUE
    'jalalidate' => boolTRUE
    'kint' => boolTRUE
    'language' => boolTRUE
    'layout_discovery' => boolTRUE
    'libraries' => boolTRUE
    'link' => boolTRUE
    'link_attributes' => boolTRUE
    'locale' => boolTRUE
    'media_entity' => boolTRUE
    'menu_ui' => boolTRUE
    'node' => boolTRUE
    'options' => boolTRUE
    'page_cache' => boolTRUE
    'path' => boolTRUE
    'profile' => boolTRUE
    'rules' => boolTRUE
    'search_api' => boolTRUE
    'search_api_db' => boolTRUE
    'search_api_views_taxonomy' => boolTRUE
    'shortcut' => boolTRUE
    'shs' => boolTRUE
    'simple_menu_icons' => boolTRUE
    'simplenews' => boolTRUE
    'state_machine' => boolTRUE
    'system' => boolTRUE
    'taxonomy' => boolTRUE
    'taxonomy_manager' => boolTRUE
    'text' => boolTRUE
    'token' => boolTRUE
    'toolbar' => boolTRUE
    'typed_data' => boolTRUE
    'update' => boolTRUE
    'user' => boolTRUE
    'videojs' => boolTRUE
    'views_bootstrap' => boolTRUE
    'views_ui' => boolTRUE
    'menu_link_content' => boolTRUE
    'ds_extras' => boolTRUE
    'views' => boolTRUE
    'paragraphs' => boolTRUE
    'linked_field' => boolTRUE
    'empty_page' => boolTRUE
    'standard' => boolTRUE
    protected moduleList -> array(97)
    'action' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'address' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'admin_toolbar' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'admin_toolbar_tools' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'adminimal_admin_toolbar' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'automated_cron' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'block' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'block_content' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'bootstrap_carousel_if' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'bootstrap_layouts' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'breakpoint' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'ckeditor' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'color_field' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'colorbox' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'comment' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_cart' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_checkout' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_order' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_payment' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_price' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_product' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_promotion' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_store' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'commerce_tax' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'config' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'contact' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'contextual' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'cshs' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'datetime' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'dblog' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'dev_product_spec' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'devel' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'double_field' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'ds' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'dynamic_page_cache' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'editor' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'entity' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'entity_clone' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'entity_reference_revisions' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'facets' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'facets_range_widget' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'field' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'field_collection' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'field_group' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'field_ui' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'file' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'filter' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'fontawesome' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'fontawesome_menu_icons' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'history' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'image' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'import_product_excel' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'inline_entity_form' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'jalalidate' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'kint' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'language' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'layout_discovery' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'libraries' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'link' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'link_attributes' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'locale' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'media_entity' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'menu_ui' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'node' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'options' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'page_cache' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'path' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'profile' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'rules' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'search_api' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'search_api_db' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'search_api_views_taxonomy' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'shortcut' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'shs' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'simple_menu_icons' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'simplenews' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'state_machine' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'system' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'taxonomy' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'taxonomy_manager' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'text' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'token' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'toolbar' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'typed_data' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'update' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'user' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'videojs' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'views_bootstrap' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'views_ui' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'menu_link_content' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'ds_extras' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'views' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'paragraphs' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'linked_field' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'empty_page' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    'standard' => Drupal\Core\Extension\Extension(5)
    *DEPTH TOO GREAT*
    protected loaded -> boolTRUE
    protected implementations -> array(820)
    'module_implements_alter' => array(4)
    *DEPTH TOO GREAT*
    'rebuild' => array(1)
    *DEPTH TOO GREAT*
    'entity_type_build' => array(10)
    *DEPTH TOO GREAT*
    'entity_type_alter' => array(6)
    *DEPTH TOO GREAT*
    'entity_load' => array(0)
    'block_load' => array(0)
    'language_negotiation_info_alter' => array(0)
    'field_info_alter' => array(2)
    *DEPTH TOO GREAT*
    'entity_bundle_info' => array(2)
    *DEPTH TOO GREAT*
    'commerce_payment_type_info_alter' => array(0)
    'commerce_payment_method_type_info_alter' => array(0)
    'block_content_type_load' => array(0)
    'comment_type_load' => array(0)
    'commerce_order_type_load' => array(0)
    'commerce_order_item_type_load' => array(0)
    'commerce_product_attribute_load' => array(0)
    'commerce_product_variation_type_load' => array(0)
    'commerce_product_type_load' => array(0)
    'commerce_store_type_load' => array(0)
    'contact_form_load' => array(0)
    'field_collection_load' => array(0)
    'node_type_load' => array(0)
    'profile_type_load' => array(0)
    'shortcut_set_load' => array(0)
    'taxonomy_vocabulary_load' => array(0)
    'paragraphs_type_load' => array(0)
    'entity_bundle_info_alter' => array(0)
    'data_type_info_alter' => array(0)
    'entity_base_field_info' => array(7)
    *DEPTH TOO GREAT*
    'entity_base_field_info_alter' => array(2)
    *DEPTH TOO GREAT*
    'entity_field_storage_info' => array(3)
    *DEPTH TOO GREAT*
    'field_storage_config_load' => array(0)
    'entity_field_storage_info_alter' => array(0)
    'query_alter' => array(0)
    'query_user_load_multiple_alter' => array(0)
    'entity_bundle_field_info' => array(3)
    *DEPTH TOO GREAT*
    'field_config_load' => array(0)
    'entity_bundle_field_info_alter' => array(0)
    'entity_storage_load' => array(1)
    *DEPTH TOO GREAT*
    'language_fallback_candidates_locale_lookup_alter' => array(0)
    'language_fallback_candidates_alter' => array(0)
    'user_storage_load' => array(0)
    'user_load' => array(0)
    'views_plugins_display_alter' => array(1)
    *DEPTH TOO GREAT*
    'view_load' => array(0)
    'views_plugins_style_alter' => array(0)
    'views_plugins_access_alter' => array(0)
    'views_data' => array(7)
    *DEPTH TOO GREAT*
    'search_api_index_load' => array(0)
    'search_api_server_load' => array(0)
    'search_api_backend_info_alter' => array(0)
    'search_api_views_handler_mapping_alter' => array(1)
    *DEPTH TOO GREAT*
    'search_api_datasource_info_alter' => array(0)
    'search_api_processor_info_alter' => array(0)
    'search_api_data_type_info_alter' => array(0)
    'search_api_views_field_handler_mapping_alter' => array(0)
    'base_field_override_load' => array(0)
    'action_load' => array(0)
    'field_views_data_alter' => array(2)
    *DEPTH TOO GREAT*
    'views_data_alter' => array(9)
    *DEPTH TOO GREAT*
    'views_plugins_row_alter' => array(1)
    *DEPTH TOO GREAT*
    'rules_ui_alter' => array(0)
    'query_menu_link_content_access_alter' => array(0)
    'query_entity_query_alter' => array(0)
    'query_entity_query_menu_link_content_alter' => array(0)
    'query_menu_link_content_load_multiple_alter' => array(0)
    'menu_link_content_storage_load' => array(0)
    'menu_link_content_load' => array(0)
    'query_node_load_multiple_alter' => array(0)
    'node_storage_load' => array(0)
    'node_load' => array(0)
    'menu_load' => array(0)
    'menu_links_discovered_alter' => array(6)
    *DEPTH TOO GREAT*
    'user_role_load' => array(0)
    'file_url_alter' => array(0)
    'date_format_load' => array(0)
    'template_preprocess_default_variables_alter' => array(1)
    *DEPTH TOO GREAT*
    'element_info_alter' => array(3)
    *DEPTH TOO GREAT*
    'theme' => array(47)
    *DEPTH TOO GREAT*
    'layout_alter' => array(1)
    *DEPTH TOO GREAT*
    'views_plugins_pager_alter' => array(0)
    'views_plugins_exposed_form_alter' => array(0)
    'theme_registry_alter' => array(3)
    *DEPTH TOO GREAT*
    'theme_suggestions_maintenance_page' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_alter' => array(2)
    *DEPTH TOO GREAT*
    'theme_suggestions_maintenance_page_alter' => array(0)
    'theme_suggestions_links' => array(0)
    'theme_suggestions_links_alter' => array(0)
    'link_alter' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_maintenance_task_list' => array(0)
    'theme_suggestions_maintenance_task_list_alter' => array(0)
    'display_variant_plugin_alter' => array(0)
    'entity_access' => array(1)
    *DEPTH TOO GREAT*
    'block_access' => array(0)
    'query_block_content_load_multiple_alter' => array(0)
    'block_content_storage_load' => array(0)
    'block_content_load' => array(0)
    'facets_facet_load' => array(0)
    'language_types_info' => array(0)
    'language_types_info_alter' => array(1)
    *DEPTH TOO GREAT*
    'system_info_alter' => array(1)
    *DEPTH TOO GREAT*
    'block_alter' => array(0)
    'query_block_content_access_alter' => array(0)
    'query_entity_query_block_content_alter' => array(0)
    'block_content_access' => array(0)
    'condition_info_alter' => array(0)
    'block_build_alter' => array(0)
    'block_build_system_menu_block_alter' => array(0)
    'block_build_system_branding_block_alter' => array(0)
    'block_build_system_messages_block_alter' => array(0)
    'block_build_local_actions_block_alter' => array(0)
    'block_build_local_tasks_block_alter' => array(0)
    'block_build_system_breadcrumb_block_alter' => array(0)
    'block_build_system_main_block_alter' => array(0)
    'block_view_alter' => array(1)
    *DEPTH TOO GREAT*
    'block_view_system_main_block_alter' => array(1)
    *DEPTH TOO GREAT*
    'block_build_block_content_alter' => array(0)
    'block_build_simplenews_subscription_block_alter' => array(0)
    'page_attachments' => array(4)
    *DEPTH TOO GREAT*
    'libraries_info' => array(2)
    *DEPTH TOO GREAT*
    'libraries_info_file_paths' => array(0)
    'libraries_info_alter' => array(0)
    'page_attachments_alter' => array(3)
    *DEPTH TOO GREAT*
    'page_top' => array(4)
    *DEPTH TOO GREAT*
    'page_bottom' => array(0)
    'theme_suggestions_html' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_html_alter' => array(0)
    'theme_suggestions_page' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_page_alter' => array(0)
    'block_view_system_menu_block_alter' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_block' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_block_alter' => array(0)
    'theme_suggestions_menu' => array(0)
    'theme_suggestions_menu_alter' => array(0)
    'theme_suggestions_region' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_region_alter' => array(0)
    'block_view_system_branding_block_alter' => array(0)
    'block_view_system_messages_block_alter' => array(0)
    'block_view_local_actions_block_alter' => array(0)
    'menu_local_actions_alter' => array(0)
    'block_view_local_tasks_block_alter' => array(0)
    'block_view_system_breadcrumb_block_alter' => array(0)
    'system_breadcrumb_alter' => array(2)
    *DEPTH TOO GREAT*
    'search_api_displays_alter' => array(0)
    'search_api_server_features_alter' => array(0)
    'theme_suggestions_breadcrumb' => array(0)
    'theme_suggestions_breadcrumb_alter' => array(0)
    'block_view_block_content_alter' => array(0)
    'entity_view_mode_alter' => array(0)
    'entity_view_mode_load' => array(0)
    'entity_view_mode_info_alter' => array(0)
    'block_content_build_defaults_alter' => array(0)
    'entity_build_defaults_alter' => array(0)
    'entity_extra_field_info' => array(8)
    *DEPTH TOO GREAT*
    'entity_extra_field_info_alter' => array(0)
    'entity_view_display_load' => array(0)
    'entity_view_display_alter' => array(0)
    'entity_prepare_view' => array(0)
    'field_formatter_info_alter' => array(3)
    *DEPTH TOO GREAT*
    'entity_field_access' => array(2)
    *DEPTH TOO GREAT*
    'entity_field_access_alter' => array(0)
    'entity_display_build_alter' => array(1)
    *DEPTH TOO GREAT*
    'block_content_view' => array(0)
    'entity_view' => array(2)
    *DEPTH TOO GREAT*
    'block_content_view_alter' => array(0)
    'entity_view_alter' => array(2)
    *DEPTH TOO GREAT*
    'theme_suggestions_field' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_field_alter' => array(1)
    *DEPTH TOO GREAT*
    'filter_format_load' => array(0)
    'filter_info_alter' => array(0)
    'node_access' => array(2)
    *DEPTH TOO GREAT*
    'node_grants' => array(0)
    'block_view_simplenews_subscription_block_alter' => array(0)
    'simplenews_newsletter_load' => array(0)
    'language_content_settings_create' => array(0)
    'entity_create' => array(0)
    'simplenews_subscriber_field_values_init' => array(0)
    'entity_field_values_init' => array(0)
    'query_user_access_alter' => array(0)
    'query_entity_query_user_alter' => array(0)
    'simplenews_subscriber_create' => array(0)
    'entity_form_display_load' => array(0)
    'entity_form_display_alter' => array(0)
    'entity_prepare_form' => array(0)
    'simplenews_subscriber_prepare_form' => array(0)
    'field_widget_info_alter' => array(4)
    *DEPTH TOO GREAT*
    'field_widget_form_alter' => array(5)
    *DEPTH TOO GREAT*
    'field_widget_email_default_form_alter' => array(0)
    'field_widget_simplenews_subscription_select_form_alter' => array(0)
    'form_alter' => array(5)
    *DEPTH TOO GREAT*
    'form_simplenews_subscriber_form_alter' => array(0)
    'form_simplenews_subscriptions_block_6089ebd2-a8fb-4471-b3ef-801d8fd56844_alter' => array(0)
    'theme_suggestions_container' => array(0)
    'theme_suggestions_container_alter' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_form_element' => array(0)
    'theme_suggestions_form_element_alter' => array(0)
    'theme_suggestions_input' => array(0)
    'theme_suggestions_input_alter' => array(0)
    'theme_suggestions_field_multiple_value_form' => array(0)
    'theme_suggestions_field_multiple_value_form_alter' => array(0)
    'theme_suggestions_form' => array(0)
    'theme_suggestions_form_alter' => array(0)
    'query_paragraph_load_multiple_alter' => array(0)
    'paragraph_storage_load' => array(0)
    'paragraph_load' => array(0)
    'paragraph_access' => array(0)
    'paragraph_build_defaults_alter' => array(0)
    'query_file_load_multiple_alter' => array(0)
    'file_storage_load' => array(0)
    'file_load' => array(0)
    'theme_suggestions_image_formatter' => array(0)
    'theme_suggestions_image_formatter_alter' => array(0)
    'theme_suggestions_image' => array(0)
    'theme_suggestions_image_alter' => array(0)
    'paragraph_view' => array(0)
    'paragraph_view_alter' => array(0)
    'paragraphs_behavior_info_alter' => array(0)
    'theme_suggestions_paragraph' => array(1)
    *DEPTH TOO GREAT*
    'theme_suggestions_paragraph_alter' => array(0)
    'query_file_access_alter' => array(0)
    'query_entity_query_file_alter' => array(0)
    'theme_suggestions_status_messages' => array(0)
    'theme_suggestions_status_messages_alter' => array(0)
    'library_info_alter' => array(3)
    *DEPTH TOO GREAT*
    'css_alter' => array(1)
    *DEPTH TOO GREAT*
    'js_alter' => array(1)
    *DEPTH TOO GREAT*
    'js_settings_build' => array(1)
    *DEPTH TOO GREAT*
    'js_settings_alter' => array(3)
    *DEPTH TOO GREAT*
    'theme_suggestions_admin_block_content' => array(0)
    'theme_suggestions_admin_block_content_alter' => array(0)
    'block_build_page_title_block_alter' => array(0)
    'block_view_page_title_block_alter' => array(0)
    'update_projects_alter' => array(0)
    'update_status_alter' => array(0)
    'breakpoints_alter' => array(0)
    'toolbar' => array(6)
    *DEPTH TOO GREAT*
    'shortcut_default_set' => array(0)
    'query_shortcut_access_alter' => array(0)
    'query_entity_query_shortcut_alter' => array(0)
    'query_shortcut_load_multiple_alter' => array(0)
    'shortcut_storage_load' => array(0)
    'shortcut_load' => array(0)
    'user_format_name_alter' => array(0)
    'toolbar_alter' => array(3)
    *DEPTH TOO GREAT*
    'theme_suggestions_toolbar' => array(0)
    'theme_suggestions_toolbar_alter' => array(0)
    'theme_suggestions_page_title' => array(0)
    'theme_suggestions_page_title_alter' => array(0)
    'entity_form_mode_load' => array(0)
    'entity_form_mode_info_alter' => array(0)
    'local_tasks_alter' => array(5)
    *DEPTH TOO GREAT*
    'menu_local_tasks_alter' => array(1)
    *DEPTH TOO GREAT*
    '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)
    'theme_suggestions_update_last_check' => array(0)
    'theme_suggestions_update_last_check_alter' => array(0)
    'form_update_manager_update_form_alter' => array(0)
    'theme_suggestions_table' => array(0)
    'theme_suggestions_table_alter' => array(0)
    'commerce_product_variation_type_access' => array(0)
    'entity_operation' => array(3)
    *DEPTH TOO GREAT*
    'entity_operation_alter' => array(0)
    'theme_suggestions_dropbutton_wrapper' => array(0)
    'theme_suggestions_dropbutton_wrapper_alter' => array(0)
    'theme_suggestions_pager' => array(0)
    'theme_suggestions_pager_alter' => array(0)
    'entity_create_access' => array(0)
    'commerce_product_variation_type_create_access' => array(0)
    'theme_suggestions_menu_local_action' => array(0)
    'theme_suggestions_menu_local_action_alter' => array(0)
    'entity_form_display_prepare_form' => array(0)
    'field_widget_settings_summary_alter' => array(0)
    'field_widget_third_party_settings_form' => array(0)
    'form_entity_form_display_form_alter' => array(0)
    'form_entity_form_display_edit_form_alter' => array(3)
    *DEPTH TOO GREAT*
    'field_group_formatter_info_alter' => array(0)
    'theme_suggestions_field_ui_table' => array(0)
    'theme_suggestions_field_ui_table_alter' => array(0)
    'theme_suggestions_form_element_label' => array(0)
    'theme_suggestions_form_element_label_alter' => array(0)
    'theme_suggestions_select' => array(0)
    'theme_suggestions_select_alter' => array(0)
    'entity_view_display_prepare_form' => array(0)
    'field_formatter_settings_summary_alter' => array(2)
    *DEPTH TOO GREAT*
    'field_formatter_third_party_settings_form' => array(2)
    *DEPTH TOO GREAT*
    'query_commerce_store_access_alter' => array(0)
    'query_entity_query_commerce_store_alter' => array(0)
    'query_commerce_store_load_multiple_alter' => array(0)
    'commerce_store_storage_load' => array(0)
    'commerce_store_load' => array(0)
    'form_entity_view_display_form_alter' => array(0)
    'form_entity_view_display_edit_form_alter' => array(3)
    *DEPTH TOO GREAT*
    'theme_suggestions_details' => array(0)
    'theme_suggestions_details_alter' => array(0)
    'theme_suggestions_checkboxes' => array(0)
    'theme_suggestions_checkboxes_alter' => array(0)
    'theme_suggestions_fieldset' => array(0)
    'theme_suggestions_fieldset_alter' => array(0)
    'theme_suggestions_vertical_tabs' => array(0)
    'theme_suggestions_vertical_tabs_alter' => array(0)
    'ajax_render_alter' => array(0)
    'theme_suggestions_radios' => array(0)
    'theme_suggestions_radios_alter' => array(0)
    'theme_suggestions_token_tree_link' => array(0)
    'theme_suggestions_token_tree_link_alter' => array(0)
    'field_config_access' => array(0)
    'field_storage_config_access' => array(0)
    'field_storage_config_prepare_form' => array(0)
    'language_content_settings_load' => array(0)
    'commerce_product_variation_field_values_init' => array(0)
    'commerce_product_variation_create' => array(0)
    'form_field_storage_config_form_alter' => array(0)
    'form_field_storage_config_edit_form_alter' => array(2)
    *DEPTH TOO GREAT*
    'field_config_prepare_form' => array(0)
    'entity_reference_selection_alter' => array(0)
    'query_commerce_product_attribute_value_access_alter' => array(0)
    'query_entity_query_commerce_product_attribute_value_alter' => array(0)
    'options_list_alter' => array(0)
    'field_widget_options_select_form_alter' => array(0)
    'form_field_config_form_alter' => array(0)
    'form_field_config_edit_form_alter' => array(5)
    *DEPTH TOO GREAT*
    'theme_suggestions_textarea' => array(0)
    'theme_suggestions_textarea_alter' => array(0)
    'query_entity_reference_alter' => array(1)
    *DEPTH TOO GREAT*
    'query_commerce_product_attribute_value_load_multiple_alter' => array(0)
    'commerce_product_attribute_value_storage_load' => array(0)
    'commerce_product_attribute_value_load' => array(0)
    'form_dblog_filter_form_alter' => array(0)
    'query_pager_alter' => array(0)
    'query_tablesort_alter' => array(0)
    'theme_suggestions_tablesort_indicator' => array(0)
    'theme_suggestions_tablesort_indicator_alter' => array(0)
    'theme_suggestions_username' => array(0)
    'theme_suggestions_username_alter' => array(0)
    'commerce_product_attribute_access' => array(0)
    'entity_form_display_create' => array(0)
    'entity_view_display_create' => array(0)
    'commerce_product_type_access' => array(0)
    'commerce_product_type_create_access' => array(0)
    'commerce_order_type_access' => array(0)
    'commerce_order_type_create_access' => array(0)
    'commerce_product_type_prepare_form' => array(0)
    'commerce_product_field_values_init' => array(0)
    'commerce_product_create' => array(0)
    'form_commerce_product_type_form_alter' => array(0)
    'form_commerce_product_type_edit_form_alter' => array(0)
    'commerce_order_type_prepare_form' => array(0)
    'form_commerce_order_type_form_alter' => array(2)
    *DEPTH TOO GREAT*
    'form_commerce_order_type_edit_form_alter' => array(0)
    'commerce_checkout_flow_load' => array(0)
    'theme_suggestions_item_list' => array(0)
    'theme_suggestions_item_list_alter' => array(0)
    'form_taxonomy_manager.vocabulary_terms_form_alter' => array(0)
    'query_taxonomy_term_load_multiple_alter' => array(0)
    'taxonomy_term_storage_load' => array(0)
    'taxonomy_term_load' => array(0)
    'views_pre_view' => array(0)
    'views_plugins_field_alter' => array(0)
    'views_plugins_filter_alter' => array(2)
    *DEPTH TOO GREAT*
    'views_pre_build' => array(0)
    'views_plugins_query_alter' => array(0)
    'views_query_alter' => array(1)
    *DEPTH TOO GREAT*
    'views_query_substitutions' => array(3)
    *DEPTH TOO GREAT*
    'views_post_build' => array(0)
    'views_pre_execute' => array(0)
    'views_plugins_cache_alter' => array(1)
    *DEPTH TOO GREAT*
    'query_views_alter' => array(1)
    *DEPTH TOO GREAT*
    <