You are here

public function TagadelicTag::drupal in Tagadelic 7.2

Getter for drupal, if not found, will instantiate a default TagaDelicDrupalWrapper

Return value

type value in $this::$drupal.

File

./TagadelicTag.php, line 139

Class

TagadelicTag
class TagadelicTag TagadelicTag contains the tag itself.

Code

public function drupal() {
  if (empty($this->drupal)) {
    $this->drupal = new TagaDelicDrupalWrapper();
  }
  return $this->drupal;
}