You are here

Classes, traits, and interfaces in Libraries API 8.3

Primary tabs

Namesort descending Type Namespace Location Description Direct uses Use statements Strings
AssetLibrariesStream class Drupal\libraries\StreamWrapper src/StreamWrapper/AssetLibrariesStream.php Provides a stream wrapper for asset libraries. 2
AssetLibrary class Drupal\libraries\ExternalLibrary\Asset src/ExternalLibrary/Asset/AssetLibrary.php Provides a class for a single attachable asset library. 1
AssetLibraryInterface interface Drupal\libraries\ExternalLibrary\Asset src/ExternalLibrary/Asset/AssetLibraryInterface.php Provides an interface for external asset libraries with a single library. 1
AssetLibraryTest class Drupal\Tests\libraries\Kernel\ExternalLibrary\Asset tests/src/Kernel/ExternalLibrary/Asset/AssetLibraryTest.php Tests that external asset libraries are registered as core asset libraries.
AssetLibraryTestBase abstract class Drupal\Tests\libraries\Kernel\ExternalLibrary\Asset tests/src/Kernel/ExternalLibrary/Asset/AssetLibraryTestBase.php Provides a base test class for asset library type tests. 2
AssetLibraryType class Drupal\libraries\Plugin\libraries\Type src/Plugin/libraries/Type/AssetLibraryType.php Plugin annotation @LibraryType("asset");
AttachableAssetLibraryRegistrationInterface interface Drupal\libraries\ExternalLibrary\Asset src/ExternalLibrary/Asset/AttachableAssetLibraryRegistrationInterface.php An interface for library types that want to react to library instantiation. 2 3
ChainDefinitionDiscovery class Drupal\libraries\ExternalLibrary\Definition src/ExternalLibrary/Definition/ChainDefinitionDiscovery.php Provides a definition discovery that checks a list of other discoveries.
ChainLocator class Drupal\libraries\Plugin\libraries\Locator src/Plugin/libraries/Locator/ChainLocator.php Provides a locator utilizing a chain of other individual locators.
DefinitionDiscoveryFactory class Drupal\libraries\ExternalLibrary\Definition src/ExternalLibrary/Definition/DefinitionDiscoveryFactory.php Instantiates a library definition discovery based on configuration. 2
DefinitionDiscoveryFactoryTest class Drupal\Tests\libraries\Functional\ExternalLibrary\Definition tests/src/Functional/ExternalLibrary/Definition/DefinitionDiscoveryFactoryTest.php Tests that remote library definitions are found and downloaded.
DefinitionDiscoveryInterface interface Drupal\libraries\ExternalLibrary\Definition src/ExternalLibrary/Definition/DefinitionDiscoveryInterface.php Provides an interface for library definition discoveries. 5 1 2
DependencyAccessorTrait trait Drupal\libraries\ExternalLibrary\Utility src/ExternalLibrary/Utility/DependencyAccessorTrait.php Provides a trait for classes giving access to a library dependency. 1
DependentLibraryInterface interface Drupal\libraries\ExternalLibrary\Dependency src/ExternalLibrary/Dependency/DependentLibraryInterface.php Provides an interface for libraries that depend on other libraries. 3 3
DependentLibraryTrait trait Drupal\libraries\ExternalLibrary\Dependency src/ExternalLibrary/Dependency/DependentLibraryTrait.php Provides a trait for libraries that depend on other libraries. 1
ExampleController class Drupal\libraries_test\Controller tests/modules/libraries_test/src/Controller/ExampleController.php
FileDefinitionDiscovery class Drupal\libraries\ExternalLibrary\Definition src/ExternalLibrary/Definition/FileDefinitionDiscovery.php Provides a libraries definition discovery using PHP's native file functions. 1 1
FileDefinitionDiscoveryBase abstract class Drupal\libraries\ExternalLibrary\Definition src/ExternalLibrary/Definition/FileDefinitionDiscoveryBase.php Provides a base implementation for file-based definition discoveries. 2
GlobalLocator class Drupal\libraries\Plugin\libraries\Locator src/Plugin/libraries/Locator/GlobalLocator.php Provides a locator based on global configuration.
GlobalLocatorTest class Drupal\Tests\libraries\Kernel\ExternalLibrary tests/src/Kernel/ExternalLibrary/GlobalLocatorTest.php Tests that a global locator can be properly used to load a libraries.
GuzzleDefinitionDiscovery class Drupal\libraries\ExternalLibrary\Definition src/ExternalLibrary/Definition/GuzzleDefinitionDiscovery.php Provides a definition discovery that fetches remote definitions using Guzzle.
IdAccessorTrait trait Drupal\libraries\ExternalLibrary\Utility src/ExternalLibrary/Utility/IdAccessorTrait.php Provides a trait for classes that have a string identifier. 2
InvalidLibraryDependencyException class Drupal\libraries\ExternalLibrary\Exception src/ExternalLibrary/Exception/InvalidLibraryDependencyException.php Provides an exception for an invalid library exception.
LibrariesConfigSubscriber class Drupal\libraries\Config src/Config/LibrariesConfigSubscriber.php Reacts to configuration changes of the 'libraries.settings' configuration. 2
LibrariesUnitTest class Drupal\libraries\Tests src/Tests/LibrariesUnitTest.php Tests basic Libraries API functions.
LibrariesWebTest class Drupal\libraries\Tests src/Tests/LibrariesWebTest.php Tests basic detection and loading of libraries.
LibraryAccessorInterface interface Drupal\libraries\ExternalLibrary\Utility src/ExternalLibrary/Utility/LibraryAccessorInterface.php Provides an interface for classes giving access to a library. 3 4
LibraryAccessorTrait trait Drupal\libraries\ExternalLibrary\Utility src/ExternalLibrary/Utility/LibraryAccessorTrait.php Provides a trait for classes giving access to a library. 3
LibraryBase abstract class Drupal\libraries\ExternalLibrary src/ExternalLibrary/LibraryBase.php Provides a base external library implementation. 3 3
LibraryCreationListenerInterface interface Drupal\libraries\ExternalLibrary\Type src/ExternalLibrary/Type/LibraryCreationListenerInterface.php An interface for library types that want to react to library instantiation. 1 1
LibraryDefinitionNotFoundException class Drupal\libraries\ExternalLibrary\Exception src/ExternalLibrary/Exception/LibraryDefinitionNotFoundException.php Provides an exception for a library definition that cannot be found. 5
LibraryDefinitionsStream class Drupal\libraries\StreamWrapper src/StreamWrapper/LibraryDefinitionsStream.php Provides a stream wrapper for library definitions. 2
LibraryIdAccessorInterface interface Drupal\libraries\ExternalLibrary\Utility src/ExternalLibrary/Utility/LibraryIdAccessorInterface.php Provides an interface for classes giving access to a library ID. 2 3
LibraryIdAccessorTrait trait Drupal\libraries\ExternalLibrary\Utility src/ExternalLibrary/Utility/LibraryIdAccessorTrait.php Provides a trait for classes giving access to a library ID. 2
LibraryInterface interface Drupal\libraries\ExternalLibrary src/ExternalLibrary/LibraryInterface.php Provides an interface for different types of external libraries. 7 15
LibraryLoadingListenerInterface interface Drupal\libraries\ExternalLibrary\Type src/ExternalLibrary/Type/LibraryLoadingListenerInterface.php An interface for library types that want to react to library instantiation. 1 2
LibraryManager class Drupal\libraries\ExternalLibrary src/ExternalLibrary/LibraryManager.php Provides a manager for external libraries. 2
LibraryManagerInterface interface Drupal\libraries\ExternalLibrary src/ExternalLibrary/LibraryManagerInterface.php Provides an interface for external library managers. 1 7
LibraryNotInstalledException class Drupal\libraries\ExternalLibrary\Exception src/ExternalLibrary/Exception/LibraryNotInstalledException.php Provides an exception for a library that is not installed. 4
LibraryType class Drupal\libraries\Annotation src/Annotation/LibraryType.php Provides an annotation class for locator plugins. 1
LibraryTypeBase abstract class Drupal\libraries\ExternalLibrary\Type src/ExternalLibrary/Type/LibraryTypeBase.php Provides a base class for library types. 3 3
LibraryTypeFactory class Drupal\libraries\ExternalLibrary\Type src/ExternalLibrary/Type/LibraryTypeFactory.php Provides a plugin manager for library type plugins. 2
LibraryTypeInterface interface Drupal\libraries\ExternalLibrary\Type src/ExternalLibrary/Type/LibraryTypeInterface.php Provides an interface for library types. 1 6
LibraryTypeKernelTestBase abstract class Drupal\Tests\libraries\Kernel tests/src/Kernel/LibraryTypeKernelTestBase.php Provides an improved version of the core kernel test base class. 3 3
LibraryTypeNotFoundException class Drupal\libraries\ExternalLibrary\Exception src/ExternalLibrary/Exception/LibraryTypeNotFoundException.php Provides an exception for a library definition without a type declaration. 2
LinePatternDetector class Drupal\libraries\Plugin\libraries\VersionDetector src/Plugin/libraries/VersionDetector/LinePatternDetector.php Detects the version by matching lines in a file against a specified pattern. 1
LinePatternDetectorTest class Drupal\Tests\libraries\Unit\Plugin\libraries\VersionDetector tests/src/Unit/Plugin/libraries/VersionDetector/LinePatternDetectorTest.php Tests the line pattern version detector.
LocalHiddenStreamTrait trait Drupal\libraries\StreamWrapper src/StreamWrapper/LocalHiddenStreamTrait.php Provides a trait for local hidden streams. 1
LocalLibraryInterface interface Drupal\libraries\ExternalLibrary\Local src/ExternalLibrary/Local/LocalLibraryInterface.php Provides an interface for local libraries. 3 10
LocalLibraryTrait trait Drupal\libraries\ExternalLibrary\Local src/ExternalLibrary/Local/LocalLibraryTrait.php Provides a trait for local libraries utilizing a stream wrapper. 3

Pages

Other projects