Skip to main content
Hostdog docs
Documentation & API reference
Main menu
Drupal 7
Drupal 8
Drupal 9
You are here
Home
»
API reference
»
Drupal 8.x
»
String.php
»
String
»
String::checkPlain
Search Drupal 8.x
Function, class, file, topic, etc.
*
Partial match search is supported
API Navigation
Drupal 8.x
Topics
Classes
Functions
Files
Namespaces
Services
Constants
Globals
Deprecated
12 calls to String::checkPlain()
ActionListController::buildRow
in drupal/
core/
modules/
action/
lib/
Drupal/
action/
ActionListController.php
Builds a row for an entity in the entity listing.
AttributeString::__toString
in drupal/
core/
lib/
Drupal/
Core/
Template/
AttributeString.php
Implements the magic __toString() method.
check_plain
in drupal/
core/
includes/
bootstrap.inc
Encodes special characters in a plain-text string for display as HTML.
check_url
in drupal/
core/
includes/
common.inc
Strips dangerous protocols from a URI and encodes it for output to HTML.
DateFormatFormBase::submitForm
in drupal/
core/
modules/
system/
lib/
Drupal/
system/
Form/
DateFormatFormBase.php
Form submission handler.
DeleteMultiple::buildForm
in drupal/
core/
modules/
node/
lib/
Drupal/
node/
Form/
DeleteMultiple.php
Implements
\Drupal\Core\Form\FormInterface::buildForm
().
RolesRid::title_query
in drupal/
core/
modules/
user/
lib/
Drupal/
user/
Plugin/
views/
argument/
RolesRid.php
RolesRidTest::testTitleQuery
in drupal/
core/
modules/
user/
tests/
Drupal/
Tests/
user/
Views/
Argument/
RolesRidTest.php
Tests the title_query method.
String::format
in drupal/
core/
lib/
Drupal/
Component/
Utility/
String.php
Formats a string for HTML display by replacing variable placeholders.
String::placeholder
in drupal/
core/
lib/
Drupal/
Component/
Utility/
String.php
Formats text for emphasized display in a placeholder inside a sentence.
StringTest::testCheckPlain
in drupal/
core/
tests/
Drupal/
Tests/
Component/
Utility/
StringTest.php
Tests String::checkPlain().
UrlValidator::filterBadProtocol
in drupal/
core/
lib/
Drupal/
Component/
Utility/
UrlValidator.php
Processes an HTML attribute value and strips dangerous protocols from URLs.