Search for convert

  1. Search 7.x for convert
  2. Search 8.9.x for convert
  3. Search 10.3.x for convert
  4. Search 11.x for convert
  5. Other projects
Title Object type File name Summary
AccessManager::$paramConverterManager property core/lib/Drupal/Core/Access/AccessManager.php The paramconverter manager.
AccessManagerTest::$paramConverter property core/tests/Drupal/Tests/Core/Access/AccessManagerTest.php The parameter converter.
AdminPathConfigEntityConverter class core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php Makes sure the unmodified ConfigEntity is loaded on admin pages.
AdminPathConfigEntityConverter class core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php Provides a proxy class for \Drupal\Core\ParamConverter\AdminPathConfigEntityConverter.
AdminPathConfigEntityConverter.php file core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php
AdminPathConfigEntityConverter.php file core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php
AdminPathConfigEntityConverter::$adminContext property core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php The route admin context to determine whether a route is an admin one.
AdminPathConfigEntityConverter::$configFactory property core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php The config factory.
AdminPathConfigEntityConverter::$container property core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php The service container.
AdminPathConfigEntityConverter::$drupalProxyOriginalServiceId property core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php The id of the original proxied service.
AdminPathConfigEntityConverter::$service property core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php The real proxied service, after it was lazy loaded.
AdminPathConfigEntityConverter::applies function core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php Determines if the converter applies to a specific route and variable.
AdminPathConfigEntityConverter::applies function core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php Determines if the converter applies to a specific route and variable.
AdminPathConfigEntityConverter::convert function core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php Converts path variables to their corresponding objects.
AdminPathConfigEntityConverter::convert function core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php Converts path variables to their corresponding objects.
AdminPathConfigEntityConverter::lazyLoadItself function core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php Lazy loads the real service from the container.
AdminPathConfigEntityConverter::__construct function core/lib/Drupal/Core/ProxyClass/ParamConverter/AdminPathConfigEntityConverter.php Constructs a ProxyClass Drupal proxy object.
AdminPathConfigEntityConverter::__construct function core/lib/Drupal/Core/ParamConverter/AdminPathConfigEntityConverter.php Constructs a new EntityConverter.
CacheContextsManager::convertTokensToKeys function core/lib/Drupal/Core/Cache/Context/CacheContextsManager.php Converts cache context tokens to cache keys.
CacheContextsManagerTest::testConvertTokensToKeys function core/tests/Drupal/Tests/Core/Cache/Context/CacheContextsManagerTest.php @covers ::convertTokensToKeys[[api-linebreak]]
Database::convertDbUrlToConnectionInfo function core/lib/Drupal/Core/Database/Database.php Converts a URL to a database connection info array.
DynamicEntityTypeParamConverterTrait trait core/lib/Drupal/Core/ParamConverter/DynamicEntityTypeParamConverterTrait.php Provides a trait to replace dynamic entity types in routes.
DynamicEntityTypeParamConverterTrait.php file core/lib/Drupal/Core/ParamConverter/DynamicEntityTypeParamConverterTrait.php
DynamicEntityTypeParamConverterTrait::getEntityTypeFromDefaults function core/lib/Drupal/Core/ParamConverter/DynamicEntityTypeParamConverterTrait.php Determines the entity type ID given a route definition and route defaults.
EntityConverter class core/lib/Drupal/Core/ParamConverter/EntityConverter.php Parameter converter for upcasting entity IDs to full objects.
EntityConverter.php file core/lib/Drupal/Core/ParamConverter/EntityConverter.php
EntityConverter::$entityRepository property core/lib/Drupal/Core/ParamConverter/EntityConverter.php Entity repository.
EntityConverter::$entityTypeManager property core/lib/Drupal/Core/ParamConverter/EntityConverter.php Entity type manager which performs the upcasting in the end.
EntityConverter::applies function core/lib/Drupal/Core/ParamConverter/EntityConverter.php Determines if the converter applies to a specific route and variable.
EntityConverter::convert function core/lib/Drupal/Core/ParamConverter/EntityConverter.php Converts path variables to their corresponding objects.
EntityConverter::__construct function core/lib/Drupal/Core/ParamConverter/EntityConverter.php Constructs a new EntityConverter.
EntityConverterTest class core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php @coversDefaultClass \Drupal\Core\ParamConverter\EntityConverter[[api-linebreak]]
@group ParamConverter
@group Entity
EntityConverterTest.php file core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php
EntityConverterTest::$entityConverter property core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php The tested entity converter.
EntityConverterTest::$entityRepository property core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php The mocked entities repository.
EntityConverterTest::$entityTypeManager property core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php The mocked entity type manager.
EntityConverterTest::providerTestApplies function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Provides test data for testApplies()
EntityConverterTest::providerTestConvert function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Provides test data for testConvert.
EntityConverterTest::setUp function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php
EntityConverterTest::setUpMocks function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Sets up mock services and class instances.
EntityConverterTest::testApplies function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Tests the applies() method.
EntityConverterTest::testConvert function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Tests the convert() method.
EntityConverterTest::testConvertWithInvalidDynamicEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Tests the convert() method with an invalid dynamic entity type.
EntityConverterTest::testConvertWithInvalidEntityType function core/tests/Drupal/Tests/Core/ParamConverter/EntityConverterTest.php Tests the convert() method with an invalid entity type.
EntityRevisionParamConverter class core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Parameter converter for upcasting entity revision IDs to full objects.
EntityRevisionParamConverter.php file core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php
EntityRevisionParamConverter::$entityRepository property core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php The entity repository.
EntityRevisionParamConverter::$entityTypeManager property core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php The entity type manager.
EntityRevisionParamConverter::applies function core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Determines if the converter applies to a specific route and variable.
EntityRevisionParamConverter::convert function core/lib/Drupal/Core/ParamConverter/EntityRevisionParamConverter.php Converts path variables to their corresponding objects.

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