You are here

protected function ParagraphFormHelperTrait::lineageRevisioner in Paragraphs Edit 8.2

Returns the lineage revisioner service.

Return value

\Drupal\paragraphs_edit\ParagraphLineageRevisioner|null The lineage revisioner service data.

File

src/ParagraphFormHelperTrait.php, line 38

Class

ParagraphFormHelperTrait
Provides a helper for paragraph forms.

Namespace

Drupal\paragraphs_edit

Code

protected function lineageRevisioner() {
  if (!isset($this->lineageRevisioner)) {
    $this->lineageRevisioner = \Drupal::service('paragraphs_edit.lineage.revisioner');
  }
  return $this->lineageRevisioner;
}