/**
  * {@inheritdoc}
  */
 protected static function processDefinition(array &$definition)
 {
     parent::processDefinition($definition);
     $definition += ['remote_url' => '', 'libraries' => []];
     foreach ($definition['libraries'] as &$library) {
         $library += ['css' => [], 'js' => [], 'dependencies' => []];
     }
 }
Beispiel #2
0
 /**
  * {@inheritdoc}
  */
 protected static function processDefinition(array &$definition)
 {
     parent::processDefinition($definition);
     $definition += ['remote_url' => '', 'css' => [], 'js' => [], 'attachable_dependencies' => []];
 }
Beispiel #3
0
 /**
  * {@inheritdoc}
  */
 protected static function processDefinition(array &$definition)
 {
     parent::processDefinition($definition);
     $definition += ['files' => []];
 }