You are here

public function BibciteFormat::isExportFormat in Bibliography & Citation 8

Same name and namespace in other branches
  1. 2.0.x src/Plugin/BibciteFormat.php \Drupal\bibcite\Plugin\BibciteFormat::isExportFormat()

Check if current format is available for export.

Return value

bool TRUE if format available for export, FALSE if not.

Overrides BibciteFormatInterface::isExportFormat

File

src/Plugin/BibciteFormat.php, line 45

Class

BibciteFormat
Bibcite format wrapper.

Namespace

Drupal\bibcite\Plugin

Code

public function isExportFormat() {
  return !empty($this->pluginDefinition['encoder']) && is_subclass_of($this->pluginDefinition['encoder'], EncoderInterface::class);
}