public function IsPathAliasForUnpublishedContent::__construct in Acquia Content Hub 8.2
IsPathAliasForUnpublishedContent constructor.
Parameters
\Symfony\Component\Routing\Matcher\UrlMatcherInterface $matcher: URL Matcher service.
\Drupal\acquia_contenthub_publisher\EntityModeratedRevision $entity_moderated_revision: Entity Moderated Revision Service.
\Drupal\Core\Logger\LoggerChannelInterface $logger_channel: The acquia_contenthub_publisher logger channel.
File
- modules/acquia_contenthub_publisher/ src/ EventSubscriber/ EnqueueEligibility/ IsPathAliasForUnpublishedContent.php, line 50 
Class
- IsPathAliasForUnpublishedContent
- Subscribes to entity eligibility to prevent enqueueing path alias.
Namespace
Drupal\acquia_contenthub_publisher\EventSubscriber\EnqueueEligibilityCode
public function __construct(UrlMatcherInterface $matcher, EntityModeratedRevision $entity_moderated_revision, LoggerChannelInterface $logger_channel) {
  $this->matcher = $matcher;
  $this->entityModeratedRevision = $entity_moderated_revision;
  $this->achLoggerChannel = $logger_channel;
}