Search for all

  1. Search 7.x for all
  2. Search 9.5.x for all
  3. Search 8.9.x for all
  4. Search 10.3.x for all
  5. Other projects
Title Object type File name Summary
AssetResolver::getJsAssets function core/lib/Drupal/Core/Asset/AssetResolver.php Returns the JavaScript assets for the current response's libraries.
AssetResolver::getJsSettingsAssets function core/lib/Drupal/Core/Asset/AssetResolver.php Returns the JavaScript settings assets for this response's libraries.
AssetResolver::getLibrariesToLoad function core/lib/Drupal/Core/Asset/AssetResolver.php Returns the libraries that need to be loaded.
AssetResolver::sort function core/lib/Drupal/Core/Asset/AssetResolver.php Sorts CSS and JavaScript resources.
AssetResolver::__construct function core/lib/Drupal/Core/Asset/AssetResolver.php Constructs a new AssetResolver instance.
AssetResolverInterface interface core/lib/Drupal/Core/Asset/AssetResolverInterface.php Resolves asset libraries into concrete CSS and JavaScript assets.
AssetResolverInterface.php file core/lib/Drupal/Core/Asset/AssetResolverInterface.php
AssetResolverInterface::getCssAssets function core/lib/Drupal/Core/Asset/AssetResolverInterface.php Returns the CSS assets for the current response's libraries.
AssetResolverInterface::getJsAssets function core/lib/Drupal/Core/Asset/AssetResolverInterface.php Returns the JavaScript assets for the current response's libraries.
AssetResolverTest class core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @coversDefaultClass \Drupal\Core\Asset\AssetResolver[[api-linebreak]]
@group Asset
AssetResolverTest.php file core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::$assetResolver property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The tested asset resolver service.
AssetResolverTest::$cache property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The cache backend to use.
AssetResolverTest::$english property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php A mocked English language object.
AssetResolverTest::$japanese property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php A mocked Japanese language object.
AssetResolverTest::$languageManager property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked language manager.
AssetResolverTest::$libraries property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php An array of library definitions.
AssetResolverTest::$libraryDependencyResolver property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked library dependency resolver.
AssetResolverTest::$libraryDiscovery property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked library discovery service.
AssetResolverTest::$moduleHandler property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked module handler.
AssetResolverTest::$themeHandler property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked theme handler.
AssetResolverTest::$themeManager property core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php The mocked theme manager.
AssetResolverTest::providerAttachedCssAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::providerAttachedJsAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::setUp function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php
AssetResolverTest::testGetCssAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @covers ::getCssAssets[[api-linebreak]]
@dataProvider providerAttachedCssAssets
AssetResolverTest::testGetJsAssets function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php @covers ::getJsAssets[[api-linebreak]]
@dataProvider providerAttachedJsAssets
AssetResolverTest::testJsAssetsOrder function core/tests/Drupal/Tests/Core/Asset/AssetResolverTest.php Test that order of scripts are correct.
AssetRoutes class core/modules/system/src/Routing/AssetRoutes.php Defines a routes' callback to register a URL for serving assets.
AssetRoutes.php file core/modules/system/src/Routing/AssetRoutes.php
AssetRoutes::create function core/modules/system/src/Routing/AssetRoutes.php Instantiates a new instance of this class.
AssetRoutes::routes function core/modules/system/src/Routing/AssetRoutes.php Returns an array of route objects.
AssetRoutes::__construct function core/modules/system/src/Routing/AssetRoutes.php Constructs an asset routes object.
AssetsStream class core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Defines a Drupal stream wrapper class for optimized assets (assets://).
AssetsStream.php file core/lib/Drupal/Core/StreamWrapper/AssetsStream.php
AssetsStream::basePath function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the base path for public://.
AssetsStream::baseUrl function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Finds and returns the base URL for public://.
AssetsStream::getDescription function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the description of the stream wrapper for use in the UI.
AssetsStream::getName function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the name of the stream wrapper for use in the UI.
AssetsStream::getType function core/lib/Drupal/Core/StreamWrapper/AssetsStream.php Returns the type of stream wrapper.
AtLeastOneOfConstraint class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraint.php Checks that at least one of the given constraint is satisfied.
AtLeastOneOfConstraint.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraint.php
AtLeastOneOfConstraint::create function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraint.php Creates an instance of the plugin.
AtLeastOneOfConstraintValidator class core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraintValidator.php Validates the AtLeastOneOf constraint.
AtLeastOneOfConstraintValidator.php file core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraintValidator.php
AtLeastOneOfConstraintValidator::validate function core/lib/Drupal/Core/Validation/Plugin/Validation/Constraint/AtLeastOneOfConstraintValidator.php Validate a set of constraints against a value.
AtLeastOneOfConstraintValidatorTest class core/tests/Drupal/KernelTests/Core/Validation/AtLeastOneOfConstraintValidatorTest.php Tests AtLeastOneOf validation constraint with both valid and invalid values.
AtLeastOneOfConstraintValidatorTest.php file core/tests/Drupal/KernelTests/Core/Validation/AtLeastOneOfConstraintValidatorTest.php
AtLeastOneOfConstraintValidatorTest::$typedData property core/tests/Drupal/KernelTests/Core/Validation/AtLeastOneOfConstraintValidatorTest.php The typed data manager to use.
AtLeastOneOfConstraintValidatorTest::dataProvider function core/tests/Drupal/KernelTests/Core/Validation/AtLeastOneOfConstraintValidatorTest.php Data provider for testValidation().

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