You are here

public function BibciteFormat::isImportFormat in Bibliography & Citation 2.0.x

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

Check if current format is available for import.

Return value

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

Overrides BibciteFormatInterface::isImportFormat

File

src/Plugin/BibciteFormat.php, line 52

Class

BibciteFormat
Bibcite format wrapper.

Namespace

Drupal\bibcite\Plugin

Code

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