You are here

public function PanelizerInterface::setPanelizerSettings in Panelizer 8.3

Same name and namespace in other branches
  1. 8.5 src/PanelizerInterface.php \Drupal\panelizer\PanelizerInterface::setPanelizerSettings()
  2. 8.4 src/PanelizerInterface.php \Drupal\panelizer\PanelizerInterface::setPanelizerSettings()

Parameters

string $entity_type_id: The entity type id.

string $bundle: The bundle.

string $view_mode: The view mode.

array $settings: An associative array with the same keys as the associative array returned by getPanelizerSettings().

\Drupal\Core\Entity\Display\EntityViewDisplayInterface|NULL $display: If the caller already has the correct display, it can optionally be passed in here so the Panelizer service doesn't have to look it up; otherwise, this argument can bo omitted.

See also

PanelizerInterface::getPanelizerSettings()

1 method overrides PanelizerInterface::setPanelizerSettings()
Panelizer::setPanelizerSettings in src/Panelizer.php

File

src/PanelizerInterface.php, line 190

Class

PanelizerInterface
Interface for the Panelizer service.

Namespace

Drupal\panelizer

Code

public function setPanelizerSettings($entity_type_id, $bundle, $view_mode, array $settings, EntityViewDisplayInterface $display = NULL);