Xss::getAdminTagList

public static Xss::getAdminTagList() Gets the list of HTML tags allowed by Xss::filterAdmin(). Return value array The list of HTML tags allowed by filterAdmin(). File core/lib/Drupal/Component/Utility/Xss.php, line 335 Class Xss Provides helper to filter for cross-site scripting. Namespace Drupal\Component\Utility Code public static function getAdminTagList() { return static::$adminTags; }

Xss::getHtmlTagList

public static Xss::getHtmlTagList() Gets the standard list of HTML tags allowed by Xss::filter(). Return value array The list of HTML tags allowed by Xss::filter(). File core/lib/Drupal/Component/Utility/Xss.php, line 345 Class Xss Provides helper to filter for cross-site scripting. Namespace Drupal\Component\Utility Code public static function getHtmlTagList() { return static::$htmlTags; }

Xss::needsRemoval

protected static Xss::needsRemoval($html_tags, $elem) Whether this element needs to be removed altogether. Parameters $html_tags: The list of HTML tags. $elem: The name of the HTML element. Return value bool TRUE if this element needs to be removed. File core/lib/Drupal/Component/Utility/Xss.php, line 325 Class Xss Provides helper to filter for cross-site scripting. Namespace Drupal\Component\Utility Code protected static function needsRemoval($html_tags, $elem) { return !isset($ht

Xss::split

protected static Xss::split($string, $html_tags, $class) Processes an HTML tag. Parameters string $string: The HTML tag to process. array $html_tags: An array where the keys are the allowed tags and the values are not used. string $class: The called class. This method is called from an anonymous function which breaks late static binding. See https://bugs.php.net/bug.php?id=66622 for more information. Return value string If the element isn't allowed, an empty string. Otherwise, the cleaned up

Yaml

Provides a YAML serialization implementation. Allow settings to override the YAML implementation resolution. Hierarchy class \Drupal\Component\Serialization\Yaml implements SerializationInterfaceclass \Drupal\Core\Serialization\Yaml File core/lib/Drupal/Core/Serialization/Yaml.php, line 13 Namespace Drupal\Core\Serialization Members Name Modifiers Type Description Yaml::$serializer protected static property The YAML implementation to use. Yaml::decode public static

Yaml

Provides a YAML serialization implementation. Proxy implementation that will choose the best library based on availability. Hierarchy class \Drupal\Component\Serialization\Yaml implements SerializationInterface File core/lib/Drupal/Component/Serialization/Yaml.php, line 10 Namespace Drupal\Component\Serialization Members Name Modifiers Type Description Yaml::$serializer protected static property The YAML implementation to use. Yaml::decode public static function

Yaml::$serializer

The YAML implementation to use. Type: \Drupal\Component\Serialization\SerializationInterface File core/lib/Drupal/Component/Serialization/Yaml.php, line 17 Class Yaml Provides a YAML serialization implementation. Namespace Drupal\Component\Serialization Code protected static $serializer;

Yaml::decode

public static Yaml::decode($raw) Decodes data from the serialization format. Parameters string $raw: The raw data string to decode. Return value mixed The decoded data. Overrides SerializationInterface::decode File core/lib/Drupal/Component/Serialization/Yaml.php, line 33 Class Yaml Provides a YAML serialization implementation. Namespace Drupal\Component\Serialization Code public static function decode($raw) { $serializer = static::getSerializer(); return $serializer::decode($raw

Yaml::encode

public static Yaml::encode($data) Encodes data into the serialization format. Parameters mixed $data: The data to encode. Return value string The encoded data. Overrides SerializationInterface::encode File core/lib/Drupal/Component/Serialization/Yaml.php, line 22 Class Yaml Provides a YAML serialization implementation. Namespace Drupal\Component\Serialization Code public static function encode($data) { // Instead of using \Drupal\Component\Serialization\Yaml::getSerializer(), //

Yaml::getFileExtension

public static Yaml::getFileExtension() Gets the file extension for this serialization format. Return value string The file extension, without leading dot. Overrides SerializationInterface::getFileExtension File core/lib/Drupal/Component/Serialization/Yaml.php, line 41 Class Yaml Provides a YAML serialization implementation. Namespace Drupal\Component\Serialization Code public static function getFileExtension() { return 'yml'; }