RfcLoggerTrait::critical

public RfcLoggerTrait::critical($message, array $context = array()) Critical conditions. Example: Application component unavailable, unexpected exception. Parameters string $message: array $context: Return value null Overrides LoggerInterface::critical File core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 34 Class RfcLoggerTrait A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels. Namespace Drupal\Core\Logger Code public function critical($message, array $conte

RfcLoggerTrait::alert

public RfcLoggerTrait::alert($message, array $context = array()) Action must be taken immediately. Example: Entire website down, database unavailable, etc. This should trigger the SMS alerts and wake you up. Parameters string $message: array $context: Return value null Overrides LoggerInterface::alert File core/lib/Drupal/Core/Logger/RfcLoggerTrait.php, line 27 Class RfcLoggerTrait A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels. Namespace Drupal\Core\Logger Co

RfcLoggerTrait

A copy of \Psr\Log\LoggerTrait that uses RFC 5424 compliant log levels. Internal Drupal logger implementations should use this trait instead of \Psr\Log\LoggerTrait. Callers of those implementations are responsible for translating any other log level format to RFC 5424 compliant integers. Hierarchy trait \Drupal\Core\Logger\RfcLoggerTrait See also https://groups.google.com/forum/#!topic/php-fig/Rc5YDhNdGz4 https://www.drupal.org/node/2267545 File core/lib/Drupal/Core/Logger/RfcLoggerTrait.p

RevisionTrackerInterface

Tracks metadata about revisions across content entities. Hierarchy interface \Drupal\content_moderation\RevisionTrackerInterface File core/modules/content_moderation/src/RevisionTrackerInterface.php, line 8 Namespace Drupal\content_moderation Members Name Modifiers Type Description RevisionTrackerInterface::setLatestRevision public function Sets the latest revision of a given entity.

RevisionLogInterface::setRevisionUserId

public RevisionLogInterface::setRevisionUserId($user_id) Sets the entity revision author by ID. Parameters int $user_id: The user ID of the revision author. Return value $this File core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 64 Class RevisionLogInterface Defines methods for an entity that supports revision logging and ownership. Namespace Drupal\Core\Entity Code public function setRevisionUserId($user_id);

RevisionLogInterface::setRevisionUser

public RevisionLogInterface::setRevisionUser(UserInterface $account) Sets the entity revision author. Parameters \Drupal\user\UserInterface $account: The user account of the revision author. Return value $this File core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 46 Class RevisionLogInterface Defines methods for an entity that supports revision logging and ownership. Namespace Drupal\Core\Entity Code public function setRevisionUser(UserInterface $account);

RevisionLogInterface::setRevisionLogMessage

public RevisionLogInterface::setRevisionLogMessage($revision_log_message) Sets the entity revision log message. Parameters string $revision_log_message: The revision log message. Return value $this File core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 82 Class RevisionLogInterface Defines methods for an entity that supports revision logging and ownership. Namespace Drupal\Core\Entity Code public function setRevisionLogMessage($revision_log_message);

RevisionLogInterface::setRevisionCreationTime

public RevisionLogInterface::setRevisionCreationTime($timestamp) Sets the entity revision creation timestamp. Parameters int $timestamp: The UNIX timestamp of when this revision was created. Return value $this File core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 28 Class RevisionLogInterface Defines methods for an entity that supports revision logging and ownership. Namespace Drupal\Core\Entity Code public function setRevisionCreationTime($timestamp);

RevisionLogInterface::getRevisionUserId

public RevisionLogInterface::getRevisionUserId() Gets the entity revision author ID. Return value int The user ID. File core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 54 Class RevisionLogInterface Defines methods for an entity that supports revision logging and ownership. Namespace Drupal\Core\Entity Code public function getRevisionUserId();

RevisionLogInterface::getRevisionUser

public RevisionLogInterface::getRevisionUser() Gets the entity revision author. Return value \Drupal\user\UserInterface The user entity for the revision author. File core/lib/Drupal/Core/Entity/RevisionLogInterface.php, line 36 Class RevisionLogInterface Defines methods for an entity that supports revision logging and ownership. Namespace Drupal\Core\Entity Code public function getRevisionUser();