You are here

public function PageInterface::setParameter in Page Manager 8.4

Same name and namespace in other branches
  1. 8 src/PageInterface.php \Drupal\page_manager\PageInterface::setParameter()

Adds/updates a given parameter context.

Parameters

string $name: The parameter context name.

string $type: The parameter context type.

string $label: (optional) The parameter context label.

Return value

$this

1 method overrides PageInterface::setParameter()
Page::setParameter in src/Entity/Page.php
Adds/updates a given parameter context.

File

src/PageInterface.php, line 174

Class

PageInterface
Provides an interface for page entities.

Namespace

Drupal\page_manager

Code

public function setParameter($name, $type, $label = '');