You are here

public function BlockVisibilityGroup::setLogic in Block Visibility Groups 8

Sets logic used to compute, either 'and' or 'or'.

Parameters

string $logic: Either 'and' or 'or'.

File

src/Entity/BlockVisibilityGroup.php, line 134

Class

BlockVisibilityGroup
Defines the Block Visibility Group entity.

Namespace

Drupal\block_visibility_groups\Entity

Code

public function setLogic($logic) {
  $this->logic = $logic;
}