You are here

private function PublishOnlyRendered::personalizedContentPushIsActive in Acquia Lift Connector 8.4

Determines if personalized content push rule is active.

Return value

bool TRUE if active.

2 calls to PublishOnlyRendered::personalizedContentPushIsActive()
PublishOnlyRendered::onEnqueueCandidateEntity in modules/acquia_lift_publisher/src/EventSubscriber/Publish/PublishOnlyRendered.php
Checks if the entity in hand is a renderable entity.
PublishOnlyRendered::onPrunePublishCdfEntities in modules/acquia_lift_publisher/src/EventSubscriber/Publish/PublishOnlyRendered.php
Removes cdfs that are not part of the personalized content scheme.

File

modules/acquia_lift_publisher/src/EventSubscriber/Publish/PublishOnlyRendered.php, line 173

Class

PublishOnlyRendered
Responsible for filtering contents based on publishing configurations.

Namespace

Drupal\acquia_lift_publisher\EventSubscriber\Publish

Code

private function personalizedContentPushIsActive() : bool {
  return (bool) $this->publisherSettings
    ->get(ContentPublishingForm::$pushSettingField);
}