Search for parse

  1. Search 7.x for parse
  2. Search 9.5.x for parse
  3. Search 8.9.x for parse
  4. Search 10.3.x for parse
  5. Other projects
Title Object type File name Summary
TemporaryJsonapiFileFieldUploader::validateAndParseContentDispositionHeader function core/modules/jsonapi/src/Controller/TemporaryJsonapiFileFieldUploader.php Validates and extracts the filename from the Content-Disposition header.
TestDiscovery::parseTestClassSummary function core/lib/Drupal/Core/Test/TestDiscovery.php Parses the phpDoc summary line of a test class.
TestDiscoveryTest::infoParserProvider function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php
TestDiscoveryTest::testTestInfoParser function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo
@dataProvider infoParserProvider
TestDiscoveryTest::testTestInfoParserMissingGroup function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo
TestDiscoveryTest::testTestInfoParserMissingSummary function core/tests/Drupal/Tests/Core/Test/TestDiscoveryTest.php @covers ::getTestInfo
TestFileParser class core/lib/Drupal/Core/Test/RunTests/TestFileParser.php Parses class names from PHP files without loading them.
TestFileParser.php file core/lib/Drupal/Core/Test/RunTests/TestFileParser.php
TestFileParser::getTestListFromFile function core/lib/Drupal/Core/Test/RunTests/TestFileParser.php Gets the classes from a PHP file.
TestFileParser::parseContents function core/lib/Drupal/Core/Test/RunTests/TestFileParser.php Parse class names out of PHP file contents.
TestFileParserTest class core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @coversDefaultClass \Drupal\Core\Test\RunTests\TestFileParser
@group Test
@group RunTests
TestFileParserTest.php file core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php
TestFileParserTest::provideTestFileContents function core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php
TestFileParserTest::testGetTestListFromFile function core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @covers ::getTestListFromFile
TestFileParserTest::testParseContents function core/tests/Drupal/Tests/Core/Test/RunTests/TestFileParserTest.php @covers ::parseContents
@dataProvider provideTestFileContents
TestLibraryDiscoveryParser class core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php Wraps the tested class to mock the external dependencies.
TestLibraryDiscoveryParser::$validUris property core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::fileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestLibraryDiscoveryParser::setFileValidUri function core/tests/Drupal/Tests/Core/Asset/LibraryDiscoveryParserTest.php
TestToolkit::parseFile function core/modules/system/tests/modules/image_test/src/Plugin/ImageToolkit/TestToolkit.php Determines if a file contains a valid image.
TwigExtension::getTokenParsers function core/lib/Drupal/Core/Template/TwigExtension.php
TwigTransTokenParser class core/lib/Drupal/Core/Template/TwigTransTokenParser.php A class that defines the Twig 'trans' token parser for Drupal.
TwigTransTokenParser.php file core/lib/Drupal/Core/Template/TwigTransTokenParser.php
TwigTransTokenParser::checkTransString function core/lib/Drupal/Core/Template/TwigTransTokenParser.php Ensure that any nodes that are parsed are only of allowed types.
TwigTransTokenParser::decideForEnd function core/lib/Drupal/Core/Template/TwigTransTokenParser.php Detect the end of a 'trans' tag.
TwigTransTokenParser::decideForFork function core/lib/Drupal/Core/Template/TwigTransTokenParser.php Detect a 'plural' switch or the end of a 'trans' tag.
TwigTransTokenParser::getTag function core/lib/Drupal/Core/Template/TwigTransTokenParser.php
TwigTransTokenParser::parse function core/lib/Drupal/Core/Template/TwigTransTokenParser.php
UpdateProcessor::parseXml function core/modules/update/src/UpdateProcessor.php Parses the XML of the Drupal release history info files.
UrlHelper::parse function core/lib/Drupal/Component/Utility/UrlHelper.php Parses a URL string into its path, query, and fragment components.
UrlHelperTest::providerTestParse function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Provides data for self::testParse().
UrlHelperTest::testParse function core/tests/Drupal/Tests/Component/Utility/UrlHelperTest.php Tests URL parsing.
UrlTest::testDrupalParseUrl function core/modules/system/tests/src/Kernel/Common/UrlTest.php Tests UrlHelper::parse().
ViewsSearchQuery::publicParseSearchExpression function core/modules/search/src/ViewsSearchQuery.php Executes and returns the protected parseSearchExpression method.
WorkspaceTest::getSparseFieldSets function core/modules/jsonapi/tests/src/Functional/WorkspaceTest.php Returns an array of sparse fields sets to test.
YamlFileLoader::parseDefaults function core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php
YamlFileLoader::parseDefinition function core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php Parses a definition.
YamlFileLoader::parseDefinitions function core/lib/Drupal/Core/DependencyInjection/YamlFileLoader.php Parses definitions
YamlFileLoaderTest::testParseDefinitionsWithProvider function core/tests/Drupal/Tests/Core/DependencyInjection/YamlFileLoaderTest.php
_editor_parse_file_uuids function core/modules/editor/editor.module Parse an HTML snippet for any linked file with data-entity-uuid attributes.
_filter_url_parse_email_links function core/modules/filter/filter.module Makes links out of email addresses.
_filter_url_parse_full_links function core/modules/filter/filter.module Makes links out of absolute URLs.
_filter_url_parse_partial_links function core/modules/filter/filter.module Makes links out of domain names starting with "www.".
_locale_parse_js_file function core/modules/locale/locale.module Parses a JavaScript file, extracts translatable strings, and saves them.

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