Unicode::ucwords

public static Unicode::ucwords($text) Capitalizes the first character of each word in a UTF-8 string. Parameters string $text: The text that will be converted. Return value string The input $text with each word capitalized. Related topics PHP wrapper functions Functions that are wrappers or custom implementations of PHP functions. File core/lib/Drupal/Component/Utility/Unicode.php, line 377 Class Unicode Provides Unicode-related conversions and operations. Namespace Drupal\Component

Unicode::validateUtf8

public static Unicode::validateUtf8($text) Checks whether a string is valid UTF-8. All functions designed to filter input should use drupal_validate_utf8 to ensure they operate on valid UTF-8 strings to prevent bypass of the filter. When text containing an invalid UTF-8 lead byte (0xC0 - 0xFF) is presented as UTF-8 to Internet Explorer 6, the program may misinterpret subsequent bytes. When these subsequent bytes are HTML control characters such as quotes or angle brackets, parts of the text tha

unicode_requirements

unicode_requirements() Returns Unicode library status and errors. File core/includes/unicode.inc, line 13 Provides Unicode-related conversions and operations. Code function unicode_requirements() { $libraries = array( Unicode::STATUS_SINGLEBYTE => t('Standard PHP'), Unicode::STATUS_MULTIBYTE => t('PHP Mbstring Extension'), Unicode::STATUS_ERROR => t('Error'), ); $severities = array( Unicode::STATUS_SINGLEBYTE => REQUIREMENT_WARNING, Unicode::STATUS_MULTIB

UnmetDependenciesException

An exception thrown if configuration has unmet dependencies. Hierarchy class \Drupal\Core\Config\ConfigException extends \RuntimeExceptionclass \Drupal\Core\Config\UnmetDependenciesException File core/lib/Drupal/Core/Config/UnmetDependenciesException.php, line 11 Namespace Drupal\Core\Config Members Name Modifiers Type Description UnmetDependenciesException::$configObjects protected property A list of configuration objects that have unmet dependencies. UnmetDependenci

UnmetDependenciesException::$configObjects

A list of configuration objects that have unmet dependencies. Type: array File core/lib/Drupal/Core/Config/UnmetDependenciesException.php, line 18 Class UnmetDependenciesException An exception thrown if configuration has unmet dependencies. Namespace Drupal\Core\Config Code protected $configObjects = [];

UnmetDependenciesException::$extension

The name of the extension that is being installed. Type: string File core/lib/Drupal/Core/Config/UnmetDependenciesException.php, line 25 Class UnmetDependenciesException An exception thrown if configuration has unmet dependencies. Namespace Drupal\Core\Config Code protected $extension;

UnmetDependenciesException::create

public static UnmetDependenciesException::create($extension, array $config_objects) Creates an exception for an extension and a list of configuration objects. Parameters $extension: The name of the extension that is being installed. array $config_objects: A list of configuration object names that have unmet dependencies Return value \Drupal\Core\Config\PreExistingConfigException File core/lib/Drupal/Core/Config/UnmetDependenciesException.php, line 77 Class UnmetDependenciesException An e

UnmetDependenciesException::getConfigObjects

public UnmetDependenciesException::getConfigObjects() Gets the list of configuration objects that have unmet dependencies. Return value array A list of configuration objects that have unmet dependencies. File core/lib/Drupal/Core/Config/UnmetDependenciesException.php, line 33 Class UnmetDependenciesException An exception thrown if configuration has unmet dependencies. Namespace Drupal\Core\Config Code public function getConfigObjects() { return $this->configObjects; }

UnmetDependenciesException::getExtension

public UnmetDependenciesException::getExtension() Gets the name of the extension that is being installed. Return value string The name of the extension that is being installed. File core/lib/Drupal/Core/Config/UnmetDependenciesException.php, line 43 Class UnmetDependenciesException An exception thrown if configuration has unmet dependencies. Namespace Drupal\Core\Config Code public function getExtension() { return $this->extension; }

UnmetDependenciesException::getTranslatedMessage

public UnmetDependenciesException::getTranslatedMessage(TranslationInterface $string_translation, $extension) Gets a translated message from the exception. Parameters \Drupal\Core\StringTranslation\TranslationInterface $string_translation: The string translation service. Return value string File core/lib/Drupal/Core/Config/UnmetDependenciesException.php, line 55 Class UnmetDependenciesException An exception thrown if configuration has unmet dependencies. Namespace Drupal\Core\Config