You are here

interface ElementAttachmentInterface in jQuery World Calendars API 3.x

An interface for attaching things to the built page.

Hierarchy

Expanded class hierarchy of ElementAttachmentInterface

All classes that implement ElementAttachmentInterface

File

src/ElementAttachmentInterface.php, line 8

Namespace

Drupal\jquery_calendar
View source
interface ElementAttachmentInterface {

  /**
   * Attach information to the page array.
   *
   * @param array $element
   *   The page array.
   */
  public function attach(array &$element);

  /**
   * Check if the attachment should be added to the current page.
   *
   * @return bool
   *   TRUE if the attachment should be added to the current page.
   */
  public function isApplicable();

}

Members

Namesort descending Modifiers Type Description Overrides
ElementAttachmentInterface::attach public function Attach information to the page array. 1
ElementAttachmentInterface::isApplicable public function Check if the attachment should be added to the current page. 1