PrintableFormat.php in Printer and PDF versions for Drupal 8+ 2.x
Same filename and directory in other branches
Namespace
Drupal\printable\AnnotationFile
src/Annotation/PrintableFormat.phpView source
<?php
namespace Drupal\printable\Annotation;
use Drupal\Component\Annotation\Plugin;
/**
* Defines an printable format annotation object.
*
* @Annotation
*/
class PrintableFormat extends Plugin {
/**
* The plugin ID.
*
* @var string
*/
public $id;
/**
* The name of the module providing the type.
*
* @var string
*/
public $module;
/**
* The human-readable name of the format.
*
* This is used as an administrative summary of what the format does.
*
* @var \Drupal\Core\Annotation\Translation
*
* @ingroup plugin_translatable
*/
public $title;
/**
* Additional administrative information about the format's behavior.
*
* @var \Drupal\Core\Annotation\TranslationOptional
*
* @ingroup plugin_translatable
*/
public $description = '';
}
Classes
Name | Description |
---|---|
PrintableFormat | Defines an printable format annotation object. |