FormatterInterface.php in Custom Formatters 8.3
Namespace
Drupal\custom_formattersFile
src/FormatterInterface.phpView source
<?php
namespace Drupal\custom_formatters;
use Drupal\Core\Config\Entity\ConfigEntityInterface;
/**
* Interface FormatterInterface.
*/
interface FormatterInterface extends ConfigEntityInterface {
/**
* Return the formatter type plugin.
*
* @return FormatterTypeInterface|bool
* The formatter type plugin or FALSE if no plugin found.
*/
public function getFormatterType();
/**
* Get all the dependent entities for this formatter.
*
* @return ConfigEntityInterface[]
* The dependent entities.
*/
public function getDependentEntities();
}
Interfaces
Name | Description |
---|---|
FormatterInterface | Interface FormatterInterface. |