You are here

TagadelicCloudInterface.php in Tagadelic 8.3

Namespace

Drupal\tagadelic

File

src/TagadelicCloudInterface.php
View source
<?php

namespace Drupal\tagadelic;

use Drupal\tagadelic\TagadelicTag;

/**
 * Provides an interface for returning tags for a tag cloud.
 */
interface TagadelicCloudInterface {

  /**
   * Return an array of Tagadelic Tags.
   *
   * @return $this-tags.
   */
  public function getTags();

  /**
   * Add a TagadelicTag object to the tags array.
   *
   * @param $tag. The tag being added.
   */
  public function addTag(TagadelicTag $tag);

}

Interfaces

Namesort descending Description
TagadelicCloudInterface Provides an interface for returning tags for a tag cloud.