You are here

public function PanelsPatternInterface::getDefaultContexts in Panels 8.3

Same name and namespace in other branches
  1. 8.4 src/Plugin/PanelsPattern/PanelsPatternInterface.php \Drupal\panels\Plugin\PanelsPattern\PanelsPatternInterface::getDefaultContexts()

Gets the array of default contexts for this panels pattern.

Parameters

\Drupal\user\SharedTempStoreFactory $tempstore: The tempstore factory object.

string $tempstore_id: The tempstore identifier.

string $machine_name: The tempstore key.

Return value

\Drupal\Core\Plugin\Context\ContextInterface[]

1 method overrides PanelsPatternInterface::getDefaultContexts()
DefaultPattern::getDefaultContexts in src/Plugin/PanelsPattern/DefaultPattern.php
Gets the array of default contexts for this panels pattern.

File

src/Plugin/PanelsPattern/PanelsPatternInterface.php, line 38

Class

PanelsPatternInterface
Provides an interface for defining PanelsPatterns.

Namespace

Drupal\panels\Plugin\PanelsPattern

Code

public function getDefaultContexts(SharedTempStoreFactory $tempstore, $tempstore_id, $machine_name);