You are here

protected function fcIncomplete::entityType in Field Complete 7

1 call to fcIncomplete::entityType()
fcIncomplete::render in fc_incomplete/fc_incomplete.inc

File

fc_incomplete/fc_incomplete.inc, line 87
Field Incomplete - Provides a block displaying of what's currently incomplete on an entity - support.

Class

fcIncomplete

Code

protected function entityType() {
  if (!empty($this->entity_type) && !empty($this->bundle)) {
    return array(
      $this->entity_type,
      $this->bundle,
    );
  }
  if (!empty($this->parent)) {
    return $this->parent
      ->entityType();
  }
  return array(
    NULL,
    NULL,
  );
}