You are here

public function Page::hasParameter in Page Manager 8

Same name and namespace in other branches
  1. 8.4 src/Entity/Page.php \Drupal\page_manager\Entity\Page::hasParameter()

Determines if a parameters exists for the page.

Parameters

string $name: The parameter context's unique name.

Return value

bool

Overrides PageInterface::hasParameter

1 call to Page::hasParameter()
Page::getParameter in src/Entity/Page.php
Retrieves a specific parameter context.

File

src/Entity/Page.php, line 264
Contains \Drupal\page_manager\Entity\Page.

Class

Page
Defines a Page entity class.

Namespace

Drupal\page_manager\Entity

Code

public function hasParameter($name) {
  return isset($this->parameters[$name]);
}