You are here

interface ModalInterface in Modal 4.0.x

Same name and namespace in other branches
  1. 5.0.x src/Entity/ModalInterface.php \Drupal\modal_page\Entity\ModalInterface
  2. 4.1.x src/Entity/ModalInterface.php \Drupal\modal_page\Entity\ModalInterface

Provides an interface for defining Modal entities.

Hierarchy

Expanded class hierarchy of ModalInterface

All classes that implement ModalInterface

File

src/Entity/ModalInterface.php, line 10

Namespace

Drupal\modal_page\Entity
View source
interface ModalInterface extends ConfigEntityInterface {

  /**
   * Get Id.
   */
  public function getId();

  /**
   * Set Id.
   */
  public function setId($id);

  /**
   * Get Label.
   */
  public function getLabel();

  /**
   * Set Label.
   */
  public function setLabel($label);

  /**
   * Add get/set methods for your configuration properties here.
   */
  public function getBody();

  /**
   * Set Body.
   */
  public function setBody($body);

  /**
   * Get Pages.
   */
  public function getPages();

  /**
   * Set Pages.
   */
  public function setPages($pages);

  /**
   * Get Parameters.
   */
  public function getParameters();

  /**
   * Set Parameters.
   */
  public function setParameters($parameters);

  /**
   * Get Auto Open.
   */
  public function getAutoOpen();

  /**
   * Set Auto Open.
   */
  public function setAutoOpen($autoOpen);

  /**
   * Get Open Modal on Element Click.
   */
  public function getOpenModalOnElementClick();

  /**
   * Set Open Modal on Element Click.
   */
  public function setOpenModalOnElementClick($openModalOnElementClick);

  /**
   * Get LangCode.
   */
  public function getLangCode();

  /**
   * Set LangCode.
   */
  public function setLangCode($langCode);

  /**
   * Get Ok Label Button.
   */
  public function getOkLabelButton();

  /**
   * Set Ok Label Button.
   */
  public function setOkLabelButton($okLabelButton);

  /**
   * Get Enable Don't Show Again.
   */
  public function getEnableDontShowAgainOption();

  /**
   * Set Enable Don't Show Again.
   */
  public function setEnableDontShowAgainOption($enableDontShowAgainOption);

  /**
   * Get Dont Show Again Label.
   */
  public function getDontShowAgainLabel();

  /**
   * Set Dont Show Again Label.
   */
  public function setDontShowAgainLabel($dontShowAgainLabel);

  /**
   * Get Modal Size.
   */
  public function getModalSize();

  /**
   * Set Modal Size.
   */
  public function setModalSize($modalSize);

  /**
   * Get Close Modal ESC key.
   */
  public function getCloseModalEscKey();

  /**
   * Set Close Modal ESC key.
   */
  public function setCloseModalEscKey($closeModalEscKey);

  /**
   * Get Close Modal clicking outside the Modal.
   */
  public function getCloseModalClickingOutside();

  /**
   * Set Close Modal clicking outside the Modal.
   */
  public function setCloseModalClickingOutside($closeModalEscKey);

  /**
   * Get Roles.
   */
  public function getRoles();

  /**
   * Set Roles.
   */
  public function setRoles($roles);

  /**
   * Get Type.
   */
  public function getType();

  /**
   * Set Type.
   */
  public function setType($type);

  /**
   * Get Delay Display.
   */
  public function getDelayDisplay();

  /**
   * Set Delay Display.
   */
  public function setDelayDisplay($delayDisplay);

  /**
   * Get Published.
   */
  public function getPublished();

  /**
   * Set Published.
   */
  public function setPublished($published);

  /**
   * Get Languages to Show.
   */
  public function getLanguagesToShow();

  /**
   * Set Languages to Show.
   */
  public function setLanguagesToShow($languagesToShow);

  /**
   * Get Modal Class.
   */
  public function getModalClass();

  /**
   * Set Modal Class.
   */
  public function setModalClass($modalClass);

}

Members

Namesort descending Modifiers Type Description Overrides
AccessibleInterface::access public function Checks data value access. 9
CacheableDependencyInterface::getCacheContexts public function The cache contexts associated with this object. 34
CacheableDependencyInterface::getCacheMaxAge public function The maximum age for which this object may be cached. 34
CacheableDependencyInterface::getCacheTags public function The cache tags associated with this object. 27
ConfigEntityInterface::calculateDependencies public function Calculates dependencies and stores them in the dependency property. 2
ConfigEntityInterface::disable public function Disables the configuration entity. 2
ConfigEntityInterface::enable public function Enables the configuration entity. 2
ConfigEntityInterface::get public function Returns the value of a property. 2
ConfigEntityInterface::getDependencies public function Gets the configuration dependencies. 2
ConfigEntityInterface::hasTrustedData public function Gets whether on not the data is trusted. 2
ConfigEntityInterface::isInstallable public function Checks whether this entity is installable. 2
ConfigEntityInterface::isUninstalling public function Returns whether this entity is being changed during the uninstall process. 2
ConfigEntityInterface::onDependencyRemoval public function Informs the entity that entities it depends on will be deleted. 2
ConfigEntityInterface::set public function Sets the value of a property. 2
ConfigEntityInterface::setStatus public function Sets the status of the configuration entity. 2
ConfigEntityInterface::status public function Returns whether the configuration entity is enabled. 2
ConfigEntityInterface::trustData public function Sets that the data should be trusted. 2
EntityInterface::bundle public function Gets the bundle of the entity. 2
EntityInterface::create public static function Constructs a new entity object, without permanently saving it. 2
EntityInterface::createDuplicate public function Creates a duplicate of the entity. 2
EntityInterface::delete public function Deletes an entity permanently. 2
EntityInterface::enforceIsNew public function Enforces an entity to be new. 2
EntityInterface::getCacheTagsToInvalidate public function Returns the cache tags that should be used to invalidate caches. 2
EntityInterface::getConfigDependencyKey public function Gets the key that is used to store configuration dependencies. 2
EntityInterface::getConfigDependencyName public function Gets the configuration dependency name. 2
EntityInterface::getConfigTarget public function Gets the configuration target identifier for the entity. 2
EntityInterface::getEntityType public function Gets the entity type definition. 2
EntityInterface::getEntityTypeId public function Gets the ID of the type of the entity. 2
EntityInterface::getOriginalId public function Gets the original ID. 2
EntityInterface::getTypedData public function Gets a typed data object for this entity object. 2
EntityInterface::hasLinkTemplate public function Indicates if a link template exists for a given key. 2
EntityInterface::id public function Gets the identifier. 2
EntityInterface::isNew public function Determines whether the entity is new. 2
EntityInterface::label public function Gets the label of the entity. 2
EntityInterface::language public function Gets the language of the entity. 2
EntityInterface::load public static function Loads an entity. 2
EntityInterface::loadMultiple public static function Loads one or more entities. 2
EntityInterface::postCreate public function Acts on a created entity before hooks are invoked. 2
EntityInterface::postDelete public static function Acts on deleted entities before the delete hook is invoked. 2
EntityInterface::postLoad public static function Acts on loaded entities. 3
EntityInterface::postSave public function Acts on a saved entity before the insert or update hook is invoked. 2
EntityInterface::preCreate public static function Changes the values of an entity before it is created. 2
EntityInterface::preDelete public static function Acts on entities before they are deleted and before hooks are invoked. 2
EntityInterface::preSave public function Acts on an entity before the presave hook is invoked. 2
EntityInterface::referencedEntities public function Gets a list of entities referenced by this entity. 2
EntityInterface::save public function Saves an entity permanently. 2
EntityInterface::setOriginalId public function Sets the original ID. 2
EntityInterface::toArray public function Gets an array of all property values. 3
EntityInterface::toLink public function Generates the HTML for a link to this entity. 2
EntityInterface::toUrl public function Gets the URL object for the entity. 2
EntityInterface::uriRelationships public function Gets a list of URI relationships supported by this entity. 2
EntityInterface::uuid public function Gets the entity UUID (Universally Unique Identifier). 2
ModalInterface::getAutoOpen public function Get Auto Open. 1
ModalInterface::getBody public function Add get/set methods for your configuration properties here. 1
ModalInterface::getCloseModalClickingOutside public function Get Close Modal clicking outside the Modal. 1
ModalInterface::getCloseModalEscKey public function Get Close Modal ESC key. 1
ModalInterface::getDelayDisplay public function Get Delay Display. 1
ModalInterface::getDontShowAgainLabel public function Get Dont Show Again Label. 1
ModalInterface::getEnableDontShowAgainOption public function Get Enable Don't Show Again. 1
ModalInterface::getId public function Get Id. 1
ModalInterface::getLabel public function Get Label. 1
ModalInterface::getLangCode public function Get LangCode. 1
ModalInterface::getLanguagesToShow public function Get Languages to Show. 1
ModalInterface::getModalClass public function Get Modal Class. 1
ModalInterface::getModalSize public function Get Modal Size. 1
ModalInterface::getOkLabelButton public function Get Ok Label Button. 1
ModalInterface::getOpenModalOnElementClick public function Get Open Modal on Element Click. 1
ModalInterface::getPages public function Get Pages. 1
ModalInterface::getParameters public function Get Parameters. 1
ModalInterface::getPublished public function Get Published. 1
ModalInterface::getRoles public function Get Roles. 1
ModalInterface::getType public function Get Type. 1
ModalInterface::setAutoOpen public function Set Auto Open. 1
ModalInterface::setBody public function Set Body. 1
ModalInterface::setCloseModalClickingOutside public function Set Close Modal clicking outside the Modal. 1
ModalInterface::setCloseModalEscKey public function Set Close Modal ESC key. 1
ModalInterface::setDelayDisplay public function Set Delay Display. 1
ModalInterface::setDontShowAgainLabel public function Set Dont Show Again Label. 1
ModalInterface::setEnableDontShowAgainOption public function Set Enable Don't Show Again. 1
ModalInterface::setId public function Set Id. 1
ModalInterface::setLabel public function Set Label. 1
ModalInterface::setLangCode public function Set LangCode. 1
ModalInterface::setLanguagesToShow public function Set Languages to Show. 1
ModalInterface::setModalClass public function Set Modal Class. 1
ModalInterface::setModalSize public function Set Modal Size. 1
ModalInterface::setOkLabelButton public function Set Ok Label Button. 1
ModalInterface::setOpenModalOnElementClick public function Set Open Modal on Element Click. 1
ModalInterface::setPages public function Set Pages. 1
ModalInterface::setParameters public function Set Parameters. 1
ModalInterface::setPublished public function Set Published. 1
ModalInterface::setRoles public function Set Roles. 1
ModalInterface::setType public function Set Type. 1
RefinableCacheableDependencyInterface::addCacheableDependency public function Adds a dependency on an object: merges its cacheability metadata. 1
RefinableCacheableDependencyInterface::addCacheContexts public function Adds cache contexts. 1
RefinableCacheableDependencyInterface::addCacheTags public function Adds cache tags. 1
RefinableCacheableDependencyInterface::mergeCacheMaxAge public function Merges the maximum age (in seconds) with the existing maximum age. 1
SynchronizableInterface::isSyncing public function Returns whether this entity is being changed as part of a synchronization. 1
SynchronizableInterface::setSyncing public function Sets the status of the synchronization flag. 1
ThirdPartySettingsInterface::getThirdPartyProviders public function Gets the list of third parties that store information. 5
ThirdPartySettingsInterface::getThirdPartySetting public function Gets the value of a third-party setting. 5
ThirdPartySettingsInterface::getThirdPartySettings public function Gets all third-party settings of a given module. 5
ThirdPartySettingsInterface::setThirdPartySetting public function Sets the value of a third-party setting. 5
ThirdPartySettingsInterface::unsetThirdPartySetting public function Unsets a third-party setting. 5