public function PanelsPatternInterface::getBlockAddUrl in Panels 8.4
Same name and namespace in other branches
- 8.3 src/Plugin/PanelsPattern/PanelsPatternInterface.php \Drupal\panels\Plugin\PanelsPattern\PanelsPatternInterface::getBlockAddUrl()
Gets the block add url.
Parameters
string $tempstore_id: The tempstore identifier.
string $machine_name: The tempstore key.
string $block_id: The id of the block plugin to create.
string $region: The region in which to place the block after it is created.
string $destination: The destination to which to redirect after submission.
Return value
1 method overrides PanelsPatternInterface::getBlockAddUrl()
- DefaultPattern::getBlockAddUrl in src/
Plugin/ PanelsPattern/ DefaultPattern.php - Gets the block add url.
File
- src/
Plugin/ PanelsPattern/ PanelsPatternInterface.php, line 68
Class
- PanelsPatternInterface
- Provides an interface for defining PanelsPatterns.
Namespace
Drupal\panels\Plugin\PanelsPatternCode
public function getBlockAddUrl($tempstore_id, $machine_name, $block_id, $region = NULL, $destination = NULL);