36 calls to Unicode::strlen() in Zircon Profile 8
- Color::validateHex in core/
lib/ Drupal/ Component/ Utility/ Color.php - Validates whether a hexadecimal color value is syntactically correct.
- DiffEngine::_line_hash in core/
lib/ Drupal/ Component/ Diff/ Engine/ DiffEngine.php - Returns the whole line if it's small enough, or the MD5 hash otherwise.
- Entity::preSave in core/
lib/ Drupal/ Core/ Entity/ Entity.php - Acts on an entity before the presave hook is invoked.
- EntityType::__construct in core/
lib/ Drupal/ Core/ Entity/ EntityType.php - Constructs a new EntityType.
- EntityUser::processStubRow in core/
modules/ user/ src/ Plugin/ migrate/ destination/ EntityUser.php - Do as much population of the stub row as we can.
- FieldPluginBase::renderText in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Performs an advanced text render for the item.
- FieldPluginBase::trimText in core/
modules/ views/ src/ Plugin/ views/ field/ FieldPluginBase.php - Trims the field down to the specified length.
- FieldStorageConfig::preSaveNew in core/
modules/ field/ src/ Entity/ FieldStorageConfig.php - Prepares saving a new field definition.
- FilterCaption::process in core/
modules/ filter/ src/ Plugin/ Filter/ FilterCaption.php - Performs the filter processing.
- FormattableMarkup::count in core/
lib/ Drupal/ Component/ Render/ FormattableMarkup.php - Returns the string length.
- FormValidator::doValidateForm in core/
lib/ Drupal/ Core/ Form/ FormValidator.php - Performs validation on form elements.
- FormValidator::performRequiredValidation in core/
lib/ Drupal/ Core/ Form/ FormValidator.php - Performs validation of elements that are not subject to limited validation.
- GeneratedLink::count in core/
lib/ Drupal/ Core/ GeneratedLink.php - HtmlEscapedText::count in core/
lib/ Drupal/ Component/ Render/ HtmlEscapedText.php - InOperator::adminSummary in core/
modules/ views/ src/ Plugin/ views/ filter/ InOperator.php - Display the filter on the administrative summary
- ListStringItem::validateAllowedValue in core/
modules/ options/ src/ Plugin/ Field/ FieldType/ ListStringItem.php - Checks whether a candidate allowed value is valid.
- MailFormatHelper::htmlToText in core/
lib/ Drupal/ Core/ Mail/ MailFormatHelper.php - Transforms an HTML string into plain text, preserving its structure.
- MarkupTrait::count in core/
lib/ Drupal/ Component/ Render/ MarkupTrait.php - Returns the string length.
- MenuTest::addCustomMenu in core/
modules/ menu_ui/ src/ Tests/ MenuTest.php - Creates a custom menu.
- PhpSelection::matchLabel in core/
lib/ Drupal/ Core/ Entity/ Plugin/ EntityReferenceSelection/ PhpSelection.php - Matches an entity label to an input string.
- SearchQuery::parseWord in core/
modules/ search/ src/ SearchQuery.php - Parses a word or phrase for parseQuery().
- SearchSimplifyTest::testSearchSimplifyUnicode in core/
modules/ search/ src/ Tests/ SearchSimplifyTest.php - Tests that all Unicode characters simplify correctly.
- search_expand_cjk in core/
modules/ search/ search.module - Splits CJK (Chinese, Japanese, Korean) text into tokens.
- search_index in core/
modules/ search/ search.module - Updates the full-text search index for a particular item.
- template_preprocess_image_formatter in core/
modules/ image/ image.field.inc - Prepares variables for image formatter templates.
- template_preprocess_responsive_image_formatter in core/
modules/ responsive_image/ responsive_image.module - Prepares variables for responsive image formatter templates.
- template_preprocess_username in core/
modules/ user/ user.module - Prepares variables for username templates.
- text_summary in core/
modules/ text/ text.module - Generates a trimmed, formatted version of a text field value.
- TranslatableMarkup::count in core/
lib/ Drupal/ Core/ StringTranslation/ TranslatableMarkup.php - Returns the string length.
- Unicode::truncate in core/
lib/ Drupal/ Component/ Utility/ Unicode.php - Truncates a UTF-8-encoded string safely to a number of characters.
- UnicodeTest::testStrlen in core/
tests/ Drupal/ Tests/ Component/ Utility/ UnicodeTest.php - Tests multibyte strlen.
- UserNameConstraintValidator::validate in core/
modules/ user/ src/ Plugin/ Validation/ Constraint/ UserNameConstraintValidator.php - Checks if the passed value is valid.
- views_ui_truncate in core/
modules/ views_ui/ views_ui.module - Truncate strings to a set length and provide a '...' if they truncated.
- WordLevelDiff::_split in core/
lib/ Drupal/ Component/ Diff/ WordLevelDiff.php - _filter_html_image_secure_process in core/
modules/ filter/ filter.module - Process callback for local image filter.
- _search_find_match_with_simplify in core/
modules/ search/ search.module - Finds an appropriate keyword in text.