Drupal 8  8.0.2
StableLibraryOverrideTest Class Reference
Inheritance diagram for StableLibraryOverrideTest:

Public Member Functions

 testStableLibraryOverrides ()
 

Protected Member Functions

 setUp ()
 
 removeVendorAssets ($all_libraries)
 
 getAllLibraries ()
 

Protected Attributes

 $themeManager
 
 $themeInitialization
 
 $libraryDiscovery
 
 $allModules
 
 $librariesToSkip = []
 

Detailed Description

Tests Stable's library overrides.

Theme

Member Function Documentation

getAllLibraries ( )
protected

Gets all libraries for core and all installed modules.

Returns
array[] An associative array of libraries keyed by extension, then by library name, and so on.

References Drupal\moduleHandler(), and Drupal\root().

Here is the call graph for this function:

removeVendorAssets (   $all_libraries)
protected

Removes all vendor libraries and assets from the library definitions.

Parameters
array[]$all_libraries An associative array of libraries keyed by extension, then by library name, and so on.
Returns
array[] The reduced array of libraries.
setUp ( )
protected

{}

testStableLibraryOverrides ( )

Ensures that Stable overrides all relevant core library assets.

References Drupal\root().

Here is the call graph for this function:


The documentation for this class was generated from the following file: