public function StyleDiscoveryInterface::getLibraries in Paragraphs Collection 8
Gets libraries for a specific style or empty list if style is not found.
Parameters
$style: The name of the style.
Return value
array The names of the libraries, or empty list if not found.
1 method overrides StyleDiscoveryInterface::getLibraries()
- StyleDiscovery::getLibraries in src/
StyleDiscovery.php - Gets libraries for a specific style or empty list if style is not found.
File
- src/
StyleDiscoveryInterface.php, line 22
Class
- StyleDiscoveryInterface
- Provides discovery for a YAML style files in specific directories.
Namespace
Drupal\paragraphs_collectionCode
public function getLibraries($style);