EntityUsage::add |
function |
src/EntityUsage.php |
Records that an entity is referencing another entity. |
Events::USAGE_ADD |
constant |
src/Events/Events.php |
The USAGE_ADD event occurs when entities are referenced. |
EntityUsageInterface::add |
function |
src/EntityUsageInterface.php |
Records that an entity is referencing another entity. |
EntityUsageTest::testAddUsage |
function |
tests/src/Kernel/EntityUsageTest.php |
Tests the add() method. |
EntityUsageTest::usageAddEventRecorder |
function |
tests/src/Kernel/EntityUsageTest.php |
Reacts to save event. |