protected static function PhpFileLibrary::processDefinition in Libraries API 8.3
Gets library definition defaults.
Parameters
array $definition: A library definition array.
Overrides LibraryBase::processDefinition
File
- src/
ExternalLibrary/ PhpFile/ PhpFileLibrary.php, line 43
Class
- PhpFileLibrary
- Provides a base PHP file library implementation.
Namespace
Drupal\libraries\ExternalLibrary\PhpFileCode
protected static function processDefinition(array &$definition) {
parent::processDefinition($definition);
$definition += [
'files' => [],
];
}