public function PanelizerInterface::setPanelizerSettings in Panelizer 8.5
Same name and namespace in other branches
- 8.3 src/PanelizerInterface.php \Drupal\panelizer\PanelizerInterface::setPanelizerSettings()
- 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()
File
- src/
PanelizerInterface.php, line 190
Class
- PanelizerInterface
- Interface for the Panelizer service.
Namespace
Drupal\panelizerCode
public function setPanelizerSettings($entity_type_id, $bundle, $view_mode, array $settings, EntityViewDisplayInterface $display = NULL);