Search for string

  1. Search 7.x for string
  2. Search 8.9.x for string
  3. Search 10.3.x for string
  4. Search 11.x for string
  5. Other projects
Title Object type File name Summary
StringFilter::opStartsWith function core/modules/views/src/Plugin/views/filter/StringFilter.php
StringFilter::query function core/modules/views/src/Plugin/views/filter/StringFilter.php Add this filter to the query.
StringFilter::valueForm function core/modules/views/src/Plugin/views/filter/StringFilter.php Provide a simple textfield for equality.
StringFilter::WORDS_PATTERN constant core/modules/views/src/Plugin/views/filter/StringFilter.php All words separated by spaces or sentences encapsulated by double quotes.
StringFilter::__construct function core/modules/views/src/Plugin/views/filter/StringFilter.php Constructs a new StringFilter object.
StringFormatter class core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Plugin implementation of the 'string' formatter.
StringFormatter.php file core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php
StringFormatter::$entityTypeManager property core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php The entity type manager.
StringFormatter::create function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Creates an instance of the plugin.
StringFormatter::defaultSettings function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Defines the default settings for this plugin.
StringFormatter::getEntityUrl function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Gets the URI elements of the entity.
StringFormatter::settingsForm function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Returns a form to configure settings for the formatter.
StringFormatter::settingsSummary function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Returns a short summary for the current formatter settings.
StringFormatter::viewElements function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Builds a renderable array for a field value.
StringFormatter::viewValue function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Generate the output appropriate for one field item.
StringFormatter::__construct function core/lib/Drupal/Core/Field/Plugin/Field/FieldFormatter/StringFormatter.php Constructs a StringFormatter instance.
StringFormatterTest class core/modules/field/tests/src/Kernel/String/StringFormatterTest.php Tests the creation of text fields.
StringFormatterTest.php file core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
StringFormatterTest::$bundle property core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
StringFormatterTest::$display property core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
StringFormatterTest::$entityType property core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
StringFormatterTest::$entityTypeManager property core/modules/field/tests/src/Kernel/String/StringFormatterTest.php The entity type manager.
StringFormatterTest::$fieldName property core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
StringFormatterTest::$modules property core/modules/field/tests/src/Kernel/String/StringFormatterTest.php Modules to enable.
StringFormatterTest::renderEntityFields function core/modules/field/tests/src/Kernel/String/StringFormatterTest.php Renders fields of a given entity with a given display.
StringFormatterTest::setUp function core/modules/field/tests/src/Kernel/String/StringFormatterTest.php
StringFormatterTest::testLinkToContentForEntitiesWithNoCanonicalPath function core/modules/field/tests/src/Kernel/String/StringFormatterTest.php Test "link_to_entity" feature on fields which are added to config entity.
StringFormatterTest::testStringFormatter function core/modules/field/tests/src/Kernel/String/StringFormatterTest.php Tests string formatter output.
StringIdEntityTest class core/modules/migrate/tests/modules/migrate_entity_test/src/Entity/StringIdEntityTest.php Defines a content entity type that has a string ID.
StringIdEntityTest.php file core/modules/migrate/tests/modules/migrate_entity_test/src/Entity/StringIdEntityTest.php
StringIdEntityTest::baseFieldDefinitions function core/modules/migrate/tests/modules/migrate_entity_test/src/Entity/StringIdEntityTest.php
StringInterface interface core/lib/Drupal/Core/TypedData/Type/StringInterface.php Interface for strings.
StringInterface interface core/modules/locale/src/StringInterface.php Defines the locale string interface.
StringInterface.php file core/modules/locale/src/StringInterface.php
StringInterface.php file core/lib/Drupal/Core/TypedData/Type/StringInterface.php
StringInterface::addLocation function core/modules/locale/src/StringInterface.php Adds a location for this string.
StringInterface::delete function core/modules/locale/src/StringInterface.php Deletes string object from storage.
StringInterface::getId function core/modules/locale/src/StringInterface.php Gets the string unique identifier.
StringInterface::getLocations function core/modules/locale/src/StringInterface.php Gets location information for this string.
StringInterface::getPlurals function core/modules/locale/src/StringInterface.php Splits string to work with plural values.
StringInterface::getStorage function core/modules/locale/src/StringInterface.php Gets the string storage.
StringInterface::getString function core/modules/locale/src/StringInterface.php Gets plain string contained in this object.
StringInterface::getValues function core/modules/locale/src/StringInterface.php Gets field values that are set for given field names.
StringInterface::getVersion function core/modules/locale/src/StringInterface.php Gets the string version.
StringInterface::hasLocation function core/modules/locale/src/StringInterface.php Checks whether the string has a given location.
StringInterface::isNew function core/modules/locale/src/StringInterface.php Checks whether the object is not saved to storage yet.
StringInterface::isSource function core/modules/locale/src/StringInterface.php Checks whether the object is a source string.
StringInterface::isTranslation function core/modules/locale/src/StringInterface.php Checks whether the object is a translation string.
StringInterface::save function core/modules/locale/src/StringInterface.php Saves string object to storage.
StringInterface::setId function core/modules/locale/src/StringInterface.php Sets the string unique identifier.

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.