You are here

public static function Message::load in Message 8

Return value

\Drupal\message\MessageInterface A requested message entity.

Overrides EntityBase::load

3 calls to Message::load()
MessageCheckAndDeleteWorkerTest::testProcessItem in tests/src/Kernel/Plugin/QueueWorker/MessageCheckAndDeleteWorkerTest.php
Tests that items are only deleted when appropriate.
MessageEntityDelete::testReferencedEntitiesDelete in tests/src/Functional/MessageEntityDelete.php
Test deletion of a message after its referenced entities have been deleted.
MessageTokenTest::testHardCodedTokens in tests/src/Kernel/MessageTokenTest.php
Test the hard coded tokens.

File

src/Entity/Message.php, line 346

Class

Message
Defines the Message entity class.

Namespace

Drupal\message\Entity

Code

public static function load($id) {
  return parent::load($id);
}