You are here

service entity_usage.usage in Entity Usage 8

Same name and namespace in other branches
  1. 8.4 entity_usage.services.yml \entity_usage.usage
  2. 8.2 entity_usage.services.yml \entity_usage.usage
  3. 8.3 entity_usage.services.yml \entity_usage.usage

Class

Drupal\entity_usage\EntityUsage
14 string references to entity_usage.usage
BatchUpdateTest::testBatchUpdate in tests/src/FunctionalJavascript/BatchUpdateTest.php
Tests the batch update.
EmbedBase::create in src/Plugin/EntityUsage/Track/EmbedBase.php
Creates an instance of the plugin.
EntityReference::create in src/Plugin/EntityUsage/Track/EntityReference.php
Creates an instance of the plugin.
EntityReferenceKernelTest::testEntityReferenceTracking in tests/src/Kernel/EntityReferenceKernelTest.php
Tests basic entity tracking on test entities using entityreference fields.
EntityUsageTest::testAddUsage in tests/src/Kernel/EntityUsageTest.php
Tests the add() method.

... See full list

File

./entity_usage.services.yml
entity_usage.services.yml

View source
  1. class: Drupal\entity_usage\EntityUsage
  2. arguments:
  3. - '@database'
  4. - '@event_dispatcher'