You are here

public function BlockVisibilityGroup::getCondition in Block Visibility Groups 8

File

src/Entity/BlockVisibilityGroup.php, line 161

Class

BlockVisibilityGroup
Defines the Block Visibility Group entity.

Namespace

Drupal\block_visibility_groups\Entity

Code

public function getCondition($condition_id) {
  return $this
    ->getConditions()
    ->get($condition_id);
}