You are here

public function BlockVisibilityGroup::removeCondition in Block Visibility Groups 8

File

src/Entity/BlockVisibilityGroup.php, line 178

Class

BlockVisibilityGroup
Defines the Block Visibility Group entity.

Namespace

Drupal\block_visibility_groups\Entity

Code

public function removeCondition($condition_id) {
  $this
    ->getConditions()
    ->removeInstanceId($condition_id);
  return $this;
}