DefaultExportType.php in Entity Print 8.2
File
src/Plugin/EntityPrint/ExportType/DefaultExportType.php
View source
<?php
namespace Drupal\entity_print\Plugin\EntityPrint\ExportType;
use Drupal\Core\Plugin\PluginBase;
use Drupal\entity_print\Plugin\ExportTypeInterface;
class DefaultExportType extends PluginBase implements ExportTypeInterface {
public function label() {
return $this
->getPluginDefinition()['label'];
}
public function getFileExtension() {
return $this
->getPluginDefinition()['file_extension'];
}
}