Search for toString

  1. Search 7.x for toString
  2. Search 9.5.x for toString
  3. Search 8.9.x for toString
  4. Search 11.x for toString
  5. Other projects
Title Object type File name Summary
Attribute::__toString function core/lib/Drupal/Core/Template/Attribute.php Implements the magic __toString() method.
AttributeArray::__toString function core/lib/Drupal/Core/Template/AttributeArray.php Implements the magic __toString() method.
AttributeBoolean::__toString function core/lib/Drupal/Core/Template/AttributeBoolean.php Implements the magic __toString() method.
AttributeString::__toString function core/lib/Drupal/Core/Template/AttributeString.php Implements the magic __toString() method.
AttributeValueBase::__toString function core/lib/Drupal/Core/Template/AttributeValueBase.php Implements the magic __toString() method.
AuditResult::__toString function core/modules/migrate/src/Audit/AuditResult.php Returns the reasons the migration passed or failed, as a string.
Condition::__toString function core/lib/Drupal/Core/Database/Query/Condition.php Implements PHP magic __toString method to convert the conditions to string.
Constraint::__toString function core/lib/Drupal/Component/Version/Constraint.php Gets the constraint as a string.
ContentEntity::__toString function core/modules/migrate_drupal/src/Plugin/migrate/source/ContentEntity.php
Delete::__toString function core/lib/Drupal/Core/Database/Query/Delete.php Implements PHP magic __toString method to convert the query to a string.
EmbeddedDataSource::__toString function core/modules/migrate/src/Plugin/migrate/source/EmbeddedDataSource.php
EmptySource::__toString function core/modules/migrate/src/Plugin/migrate/source/EmptySource.php Allows class to decide how it will react when it is treated like a string.
EngineTwigTest::testTwigUrlToString function core/modules/system/tests/src/Functional/Theme/EngineTwigTest.php Tests the magic url to string Twig functions.
EntityQueryTest::testToString function core/tests/Drupal/KernelTests/Core/Entity/EntityQueryTest.php Tests __toString().
EntityResourceTestBase::castToString function core/modules/rest/tests/src/Functional/EntityResource/EntityResourceTestBase.php Transforms a normalization: casts all non-string types to strings.
FilterProcessResult::__toString function core/modules/filter/src/FilterProcessResult.php Gets the processed text.
FormattableMarkup::__toString function core/lib/Drupal/Component/Render/FormattableMarkup.php
FormattableMarkupTest::testToString function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString
@covers ::jsonSerialize
GeneratedLink::__toString function core/lib/Drupal/Core/GeneratedLink.php
HtmlEscapedText::__toString function core/lib/Drupal/Component/Render/HtmlEscapedText.php
HtmlEscapedTextTest::providerToString function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php Data provider for testToString().
HtmlEscapedTextTest::testToString function core/tests/Drupal/Tests/Component/Render/HtmlEscapedTextTest.php @covers ::__toString
@covers ::jsonSerialize
Insert::__toString function core/modules/pgsql/src/Driver/Database/pgsql/Insert.php
Insert::__toString function core/modules/sqlite/src/Driver/Database/sqlite/Insert.php
Insert::__toString function core/lib/Drupal/Core/Database/Query/Insert.php Implements PHP magic __toString method to convert the query to a string.
Insert::__toString function core/modules/mysql/src/Driver/Database/mysql/Insert.php
InternalViolation::__toString function core/lib/Drupal/Core/Field/InternalViolation.php
Link::toString function core/lib/Drupal/Core/Link.php Generates the HTML for this Link object.
MarkupInterface::__toString function core/lib/Drupal/Component/Render/MarkupInterface.php Returns markup.
MarkupTrait::__toString function core/lib/Drupal/Component/Render/MarkupTrait.php Returns the string version of the Markup object.
Merge::__toString function core/lib/Drupal/Core/Database/Query/Merge.php Implements PHP magic __toString method to convert the query to a string.
MigrateExternalTranslatedTestSource::__toString function core/modules/migrate/tests/modules/migrate_external_translated_test/src/Plugin/migrate/source/MigrateExternalTranslatedTestSource.php
MigrateSourceInterface::__toString function core/modules/migrate/src/Plugin/MigrateSourceInterface.php Allows class to decide how it will react when it is treated like a string.
ObjWithString::__toString function core/modules/migrate/tests/src/Unit/process/LogTest.php Returns a string.
PoHeader::__toString function core/lib/Drupal/Component/Gettext/PoHeader.php Generate a Gettext PO formatted header string based on data set earlier.
PoItem::__toString function core/lib/Drupal/Component/Gettext/PoItem.php Output the PoItem as a string.
Query::__toString function core/lib/Drupal/Core/Database/Query/Query.php Implements PHP magic __toString method to convert the query to a string.
Query::__toString function core/lib/Drupal/Core/Entity/Query/Sql/Query.php Implements the magic __toString method.
RemoveCheckToStringNodeVisitor class core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php Defines a TwigNodeVisitor that replaces CheckToStringNodes.
RemoveCheckToStringNodeVisitor.php file core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php
RemoveCheckToStringNodeVisitor::enterNode function core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php
RemoveCheckToStringNodeVisitor::getPriority function core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php
RemoveCheckToStringNodeVisitor::leaveNode function core/lib/Drupal/Core/Template/RemoveCheckToStringNodeVisitor.php
Select::__toString function core/lib/Drupal/Core/Database/Query/Select.php
SelectExtender::__toString function core/lib/Drupal/Core/Database/Query/SelectExtender.php
SelectInterface::__toString function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a string representation of how the query will be executed in SQL.
SqlBase::__toString function core/modules/migrate/src/Plugin/migrate/source/SqlBase.php Prints the query string when the object is used as a string.
StaticReflectionClass::__toString function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StringObject::__toString function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
StubSourcePlugin::__toString function core/modules/migrate/tests/src/Unit/MigrateSourceTest.php

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