You are here

public function EntityModeratedRevision::__construct in Acquia Content Hub 8.2

EntityModeratedRevision constructor.

Parameters

\Drupal\Core\Logger\LoggerChannelFactoryInterface $logger_factory: The logger channel factory.

File

modules/acquia_contenthub_publisher/src/EntityModeratedRevision.php, line 28

Class

EntityModeratedRevision
Determines whether an entity revision is "published".

Namespace

Drupal\acquia_contenthub_publisher

Code

public function __construct(LoggerChannelFactoryInterface $logger_factory) {
  $this->achPublisherChannel = $logger_factory
    ->get('acquia_contenthub_publisher');
}