You are here

interface GroupEvaluatorInterface in Block Visibility Groups 8

Interface GroupEvaluatorInterface.

@package Drupal\block_visibility_groups

Hierarchy

Expanded class hierarchy of GroupEvaluatorInterface

All classes that implement GroupEvaluatorInterface

File

src/GroupEvaluatorInterface.php, line 12

Namespace

Drupal\block_visibility_groups
View source
interface GroupEvaluatorInterface {

  /**
   * Evaluate Block Visibility Group.
   *
   * @param \Drupal\block_visibility_groups\Entity\BlockVisibilityGroup $block_visibility_group
   *   The block visibility group entity.
   *
   * @return bool
   *   TRUE if the group intends to be visible.
   */
  public function evaluateGroup(BlockVisibilityGroup $block_visibility_group);

}

Members

Namesort descending Modifiers Type Description Overrides
GroupEvaluatorInterface::evaluateGroup public function Evaluate Block Visibility Group. 1