You are here

abstract class ReplicateEventBase in Replicate 8

Hierarchy

  • class \Drupal\replicate\Events\ReplicateEventBase extends \Symfony\Component\EventDispatcher\Event

Expanded class hierarchy of ReplicateEventBase

File

src/Events/ReplicateEventBase.php, line 8

Namespace

Drupal\replicate\Events
View source
abstract class ReplicateEventBase extends Event {

  /**
   * @var \Drupal\Core\Entity\EntityInterface
   */
  protected $entity;
  public function __construct(EntityInterface $entity) {
    $this->entity = $entity;
  }

  /**
   * @return \Drupal\Core\Entity\EntityInterface
   */
  public function getEntity() {
    return $this->entity;
  }

}

Members