public function Rule::uri in JS injector 8
Overrides \Drupal\Core\Entity\Entity::uri().
File
- lib/
Drupal/ js_injector/ Entity/ Rule.php, line 128 - Contains \Drupal\js_injector\Entity\Rule.
Class
- Rule
- Defines the js_injector rule entity class.
Namespace
Drupal\js_injector\EntityCode
public function uri() {
return array(
'path' => 'admin/config/development/js-injector/manage/' . $this
->id(),
'options' => array(
'entity_type' => $this->entityType,
'entity' => $this,
),
);
}