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.
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.
Delete::__toString function core/lib/Drupal/Core/Database/Query/Delete.php Implements PHP magic __toString method to convert the query to a string.
FormattableMarkup::__toString function core/lib/Drupal/Component/Render/FormattableMarkup.php Returns markup.
FormattableMarkupTest::testToString function core/tests/Drupal/Tests/Component/Render/FormattableMarkupTest.php @covers ::__toString[[api-linebreak]]
@covers ::jsonSerialize[[api-linebreak]]
GeneratedLink::__toString function core/lib/Drupal/Core/GeneratedLink.php Returns markup.
HtmlEscapedText::__toString function core/lib/Drupal/Component/Render/HtmlEscapedText.php Returns markup.
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[[api-linebreak]]
@covers ::jsonSerialize[[api-linebreak]]
Insert::__toString function core/lib/Drupal/Core/Database/Query/Insert.php Implements PHP magic __toString method to convert the query to a string.
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.
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 Implements PHP magic __toString method to convert the query to a string.
SelectExtender::__toString function core/lib/Drupal/Core/Database/Query/SelectExtender.php Returns a string representation of how the query will be executed in SQL.
SelectInterface::__toString function core/lib/Drupal/Core/Database/Query/SelectInterface.php Returns a string representation of how the query will be executed in SQL.
StaticReflectionClass::__toString function core/lib/Drupal/Component/Annotation/Doctrine/StaticReflectionClass.php
StringObject::__toString function core/tests/Drupal/Tests/Component/Assertion/InspectorTest.php
StubUpsert::__toString function core/tests/Drupal/Tests/Core/Database/Stub/StubUpsert.php Implements PHP magic __toString method to convert the query to a string.
ToStringTrait::__toString function core/lib/Drupal/Component/Utility/ToStringTrait.php Implements the magic __toString() method.
TranslatableMarkupTest::testToString function core/tests/Drupal/Tests/Core/StringTranslation/TranslatableMarkupTest.php Tests that errors are correctly handled when a __toString() fails.
Truncate::__toString function core/lib/Drupal/Core/Database/Query/Truncate.php Implements PHP magic __toString method to convert the query to a string.
TwigExtensionTestString::__toString function core/tests/Drupal/Tests/Core/Template/TwigExtensionTest.php
TwigSimpleCheckToStringNode class core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php Defines a twig node for simplifying CheckToStringNode.
TwigSimpleCheckToStringNode.php file core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php
TwigSimpleCheckToStringNode::compile function core/lib/Drupal/Core/Template/TwigSimpleCheckToStringNode.php
UnroutedUrlTest::testToString function core/tests/Drupal/Tests/Core/UnroutedUrlTest.php Tests the toString() method.
Update::__toString function core/lib/Drupal/Core/Database/Query/Update.php Implements PHP magic __toString method to convert the query to a string.
Upsert::__toString function core/tests/fixtures/database_drivers/module/core_fake/src/Driver/Database/CoreFakeWithAllCustomClasses/Upsert.php Implements PHP magic __toString method to convert the query to a string.
Url::toString function core/lib/Drupal/Core/Url.php Generates the string URL representation for this Url object.
UrlTest::testToString function core/tests/Drupal/Tests/Core/UrlTest.php Tests the toString() method.
Variable::callableToString function core/lib/Drupal/Component/Utility/Variable.php Generates a human-readable name for a callable.
VariableTest::providerCallableToString function core/tests/Drupal/Tests/Component/Utility/VariableTest.php Data provider for testCallableToString().
VariableTest::testCallableToString function core/tests/Drupal/Tests/Component/Utility/VariableTest.php Tests generating a human-readable name for a callable.

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