You are here

ActivityEntityConditionInterface.php in Open Social 10.0.x

File

modules/custom/activity_creator/src/Plugin/ActivityEntityConditionInterface.php
View source
<?php

namespace Drupal\activity_creator\Plugin;

use Drupal\Component\Plugin\PluginInspectionInterface;

/**
 * Defines an interface for Activity entity condition plugins.
 */
interface ActivityEntityConditionInterface extends PluginInspectionInterface {

  /**
   * Checks if this is a valid entity condition for the action.
   */
  public function isValidEntityCondition($entity);

}

Interfaces

Namesort descending Description
ActivityEntityConditionInterface Defines an interface for Activity entity condition plugins.