public function PanelsPatternInterface::getDefaultContexts in Panels 8.4
Same name and namespace in other branches
- 8.3 src/Plugin/PanelsPattern/PanelsPatternInterface.php \Drupal\panels\Plugin\PanelsPattern\PanelsPatternInterface::getDefaultContexts()
Gets the array of default contexts for this panels pattern.
Parameters
\Drupal\Core\TempStore\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 34
Class
- PanelsPatternInterface
- Provides an interface for defining PanelsPatterns.
Namespace
Drupal\panels\Plugin\PanelsPatternCode
public function getDefaultContexts(SharedTempStoreFactory $tempstore, $tempstore_id, $machine_name);