interface VisualNIFrameInterface

Provides an interface for defining VisualN IFrame entities.

Hierarchy

  • interface \Drupal\visualn_iframe\Entity\VisualNIFrameInterface extends \Drupal\Core\Entity\ContentEntityInterface

Expanded class hierarchy of VisualNIFrameInterface

All classes that implement VisualNIFrameInterface

Related topics

File

modules/visualn_iframe/src/Entity/VisualNIFrameInterface.php, line 14

Namespace

Drupal\visualn_iframe\Entity
View source
interface VisualNIFrameInterface extends ContentEntityInterface, EntityChangedInterface, EntityOwnerInterface {

  // Add get/set methods for your configuration properties here.

  /**
   * Gets the VisualN IFrame name.
   *
   * @return string
   *   Name of the VisualN IFrame.
   */
  public function getName();

  /**
   * Sets the VisualN IFrame name.
   *
   * @param string $name
   *   The VisualN IFrame name.
   *
   * @return \Drupal\visualn_iframe\Entity\VisualNIFrameInterface
   *   The called VisualN IFrame entity.
   */
  public function setName($name);

  /**
   * Gets the VisualN IFrame creation timestamp.
   *
   * @return int
   *   Creation timestamp of the VisualN IFrame.
   */
  public function getCreatedTime();

  /**
   * Sets the VisualN IFrame creation timestamp.
   *
   * @param int $timestamp
   *   The VisualN IFrame creation timestamp.
   *
   * @return \Drupal\visualn_iframe\Entity\VisualNIFrameInterface
   *   The called VisualN IFrame entity.
   */
  public function setCreatedTime($timestamp);

  /**
   * Returns the VisualN IFrame published status indicator.
   *
   * Unpublished VisualN IFrame are only visible to restricted users.
   *
   * @return bool
   *   TRUE if the VisualN IFrame is published.
   */
  public function isPublished();

  /**
   * Sets the published status of a VisualN IFrame.
   *
   * @param bool $published
   *   TRUE to set this VisualN IFrame to published, FALSE to set it to unpublished.
   *
   * @return \Drupal\visualn_iframe\Entity\VisualNIFrameInterface
   *   The called VisualN IFrame entity.
   */
  public function setPublished($published);

  // @todo: add docblock
  public function getDrawingId();
  public function setDrawingId($drawing_id);
  public function getHash();
  public function setHash($hash);
  public function getSettings();
  public function setSettings($settigs);
  public function getData();
  public function setData($data);

}

Members

Namesort descending Modifiers Type Description Overrides
VisualNIFrameInterface::getCreatedTime public function Gets the VisualN IFrame creation timestamp. 1
VisualNIFrameInterface::getData public function 1
VisualNIFrameInterface::getDrawingId public function 1
VisualNIFrameInterface::getHash public function 1
VisualNIFrameInterface::getName public function Gets the VisualN IFrame name. 1
VisualNIFrameInterface::getSettings public function 1
VisualNIFrameInterface::isPublished public function Returns the VisualN IFrame published status indicator. 1
VisualNIFrameInterface::setCreatedTime public function Sets the VisualN IFrame creation timestamp. 1
VisualNIFrameInterface::setData public function 1
VisualNIFrameInterface::setDrawingId public function 1
VisualNIFrameInterface::setHash public function 1
VisualNIFrameInterface::setName public function Sets the VisualN IFrame name. 1
VisualNIFrameInterface::setPublished public function Sets the published status of a VisualN IFrame. 1
VisualNIFrameInterface::setSettings public function 1