You are here

protected function RuleStorage::attachLoad in JS injector 8

File

lib/Drupal/js_injector/RuleStorage.php, line 21
Contains \Drupal\js_injector\RuleStorage.

Class

RuleStorage
Controller class for js_injector rules.

Namespace

Drupal\js_injector

Code

protected function attachLoad(&$queried_entities, $revision_id = FALSE) {

  // Sort the queried roles by their weight.
  uasort($queried_entities, 'Drupal\\Core\\Config\\Entity\\ConfigEntityBase::sort');
  parent::attachLoad($queried_entities, $revision_id);
}