You are here

ParallaxElementInterface.php in Parallax Background 8

File

src/Entity/ParallaxElementInterface.php
View source
<?php

namespace Drupal\parallax_bg\Entity;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Provides an interface for defining Parallax element entities.
 */
interface ParallaxElementInterface extends ConfigEntityInterface {

  /**
   * @return string
   */
  public function getSelector();

  /**
   * @return string
   */
  public function getPosition();

  /**
   * @return string
   */
  public function getSpeed();

}

Interfaces

Namesort descending Description
ParallaxElementInterface Provides an interface for defining Parallax element entities.