Search for all

  1. Search 7.x for all
  2. Search 8.9.x for all
  3. Search 10.3.x for all
  4. Search 11.x for all
  5. Search main for all
  6. Other projects
Title Object type File name Summary
ProviderRepositoryTest::testEmptyProviderList function core/modules/media/tests/src/Functional/ProviderRepositoryTest.php Tests that provider discovery fails if the provider database is empty.
ProviderRepositoryTest::testInvalidResponse function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Tests handling of invalid JSON when fetching the provider database.
ProviderRepositoryTest::testNonExistingProviderDatabase function core/modules/media/tests/src/Functional/ProviderRepositoryTest.php Tests that provider discovery fails with a non-existent provider database.
ProviderRepositoryTest::testRequestException function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Tests handling of exceptions when fetching the provider database.
ProviderRepositoryTest::testSuccessfulFetch function core/modules/media/tests/src/Unit/ProviderRepositoryTest.php Tests that a successful fetch stores the provider database in key-value.
ProxyBuilder class core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php Extend the component proxy builder by using the DependencySerializationTrait.
ProxyBuilder class core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Generates the string representation of the proxy service.
ProxyBuilder.php file core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php
ProxyBuilder.php file core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php
ProxyBuilder::build function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Builds a proxy class string.
ProxyBuilder::buildConstructorMethod function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Builds the constructor used to inject the actual service ID.
ProxyBuilder::buildLazyLoadItselfMethod function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Generates the string for the method which loads the actual service.
ProxyBuilder::buildMethod function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Generates the string representation of a single method: signature, body.
ProxyBuilder::buildMethodBody function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Builds the body of a wrapped method.
ProxyBuilder::buildParameter function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Builds a string for a single parameter of a method.
ProxyBuilder::buildProxyClassName function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Generates the used proxy class name from a given class name.
ProxyBuilder::buildProxyNamespace function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Generates the used proxy namespace from a given class name.
ProxyBuilder::buildUseStatements function core/lib/Drupal/Component/ProxyBuilder/ProxyBuilder.php Build the required use statements of the proxy class.
ProxyBuilder::buildUseStatements function core/lib/Drupal/Core/ProxyBuilder/ProxyBuilder.php Build the required use statements of the proxy class.
ProxyBuilderTest class core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @coversDefaultClass \Drupal\Component\ProxyBuilder\ProxyBuilder[[api-linebreak]]
@group proxy_builder
ProxyBuilderTest class core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php @coversDefaultClass \Drupal\Core\ProxyBuilder\ProxyBuilder[[api-linebreak]]
@group proxy_builder
ProxyBuilderTest.php file core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php Contains \Drupal\Tests\Core\ProxyBuilder\ProxyBuilderTest.
ProxyBuilderTest.php file core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Contains \Drupal\Tests\Component\ProxyBuilder\ProxyBuilderTest.
ProxyBuilderTest::$proxyBuilder property core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php The tested proxy builder.
ProxyBuilderTest::$proxyBuilder property core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php The tested proxy builder.
ProxyBuilderTest::buildExpectedClass function core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php Constructs the expected class output.
ProxyBuilderTest::buildExpectedClass function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Constructs the expected class output.
ProxyBuilderTest::setUp function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php
ProxyBuilderTest::setUp function core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php
ProxyBuilderTest::testBuildComplexMethod function core/tests/Drupal/Tests/Core/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildParameter[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildComplexMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildParameter[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildMethodWithParameter function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildParameter[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildNoMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php Tests the basic methods like the constructor and the lazyLoadItself method.
ProxyBuilderTest::testBuildProxyClassName function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildProxyClassName[[api-linebreak]]
ProxyBuilderTest::testBuildProxyClassNameForModule function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildProxyClassName[[api-linebreak]]
ProxyBuilderTest::testBuildProxyNamespace function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildProxyNamespace[[api-linebreak]]
ProxyBuilderTest::testBuildReturnReference function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildServiceMethodReturnsVoid function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildSimpleMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildWithInterface function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildParameter[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildWithNestedInterface function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::build[[api-linebreak]]
ProxyBuilderTest::testBuildWithNullableSelfTypehint function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildParameter[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildWithProtectedAndPrivateMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildParameter[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyBuilderTest::testBuildWithPublicStaticMethod function core/tests/Drupal/Tests/Component/ProxyBuilder/ProxyBuilderTest.php @covers ::buildMethod[[api-linebreak]]
@covers ::buildParameter[[api-linebreak]]
@covers ::buildMethodBody[[api-linebreak]]
ProxyServicesPass class core/lib/Drupal/Core/DependencyInjection/Compiler/ProxyServicesPass.php Replaces all services with a lazy flag.
ProxyServicesPass.php file core/lib/Drupal/Core/DependencyInjection/Compiler/ProxyServicesPass.php
ProxyServicesPass::process function core/lib/Drupal/Core/DependencyInjection/Compiler/ProxyServicesPass.php
ProxyServicesPassTest class core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php @coversDefaultClass \Drupal\Core\DependencyInjection\Compiler\ProxyServicesPass[[api-linebreak]]
@group DependencyInjection
ProxyServicesPassTest.php file core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php
ProxyServicesPassTest::$proxyServicesPass property core/tests/Drupal/Tests/Core/DependencyInjection/Compiler/ProxyServicesPassTest.php The tested proxy services pass.

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