public function Page::removeAccessCondition in Page Manager 8.4
Same name and namespace in other branches
- 8 src/Entity/Page.php \Drupal\page_manager\Entity\Page::removeAccessCondition()
Removes a specific access condition.
Parameters
string $condition_id: The access condition ID.
Return value
$this
Overrides PageInterface::removeAccessCondition
File
- src/
Entity/ Page.php, line 223
Class
- Page
- Defines a Page entity class.
Namespace
Drupal\page_manager\EntityCode
public function removeAccessCondition($condition_id) {
$this
->getAccessConditions()
->removeInstanceId($condition_id);
return $this;
}