You are here

public function PagererStyleBase::setConfigurationContext in Pagerer 8

Same name and namespace in other branches
  1. 8.2 src/Plugin/pagerer/PagererStyleBase.php \Drupal\pagerer\Plugin\pagerer\PagererStyleBase::setConfigurationContext()

Sets the current PagererPreset and pane being configured.

Parameters

\Drupal\pagerer\Entity\PagererPreset $pagerer_preset: The PagererPreset.

string $pagerer_preset_pane: The PagererPreset pane.

File

src/Plugin/pagerer/PagererStyleBase.php, line 395

Class

PagererStyleBase
Base plugin for Pagerer.

Namespace

Drupal\pagerer\Plugin\pagerer

Code

public function setConfigurationContext(PagererPreset $pagerer_preset, $pagerer_preset_pane) {
  $this->pagererPreset = $pagerer_preset;
  $this->pagererPresetPane = $pagerer_preset_pane;
}