public function BibciteFormat::isImportFormat in Bibliography & Citation 8
Same name and namespace in other branches
- 2.0.x 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\PluginCode
public function isImportFormat() {
return !empty($this->pluginDefinition['encoder']) && is_subclass_of($this->pluginDefinition['encoder'], DecoderInterface::class);
}