You are here

NewsletterInterface.php in Simplenews 3.x

Same filename and directory in other branches
  1. 8.2 src/NewsletterInterface.php
  2. 8 src/NewsletterInterface.php

Namespace

Drupal\simplenews

File

src/NewsletterInterface.php
View source
<?php

namespace Drupal\simplenews;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface defining a simplenews newsletter entity.
 */
interface NewsletterInterface extends ConfigEntityInterface {

  /**
   * Checks if the newsletter is accessible for the current user.
   *
   * @return TRUE if the newsletter is accessible.
   */
  public function isAccessible();

}

Interfaces

Namesort descending Description
NewsletterInterface Provides an interface defining a simplenews newsletter entity.