You are here

ActivityEntityConditionBase.php in Open Social 8.5

File

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

namespace Drupal\activity_creator\Plugin;

use Drupal\Component\Plugin\PluginBase;

/**
 * Base class for Activity entity condition plugins.
 */
abstract class ActivityEntityConditionBase extends PluginBase implements ActivityEntityConditionInterface {

  /**
   * {@inheritdoc}
   */
  public function isValidEntityCondition($entity) {
    return TRUE;
  }

}

Classes

Namesort descending Description
ActivityEntityConditionBase Base class for Activity entity condition plugins.