You are here

public function PanelsPatternInterface::getBlockAddUrl in Panels 8.3

Same name and namespace in other branches
  1. 8.4 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

\Drupal\Core\Url

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 72

Class

PanelsPatternInterface
Provides an interface for defining PanelsPatterns.

Namespace

Drupal\panels\Plugin\PanelsPattern

Code

public function getBlockAddUrl($tempstore_id, $machine_name, $block_id, $region = NULL, $destination = NULL);