comparison core/modules/media/src/MediaSourceInterface.php @ 5:12f9dff5fda9 tip

Update to Drupal core 8.7.1
author Chris Cannam
date Thu, 09 May 2019 15:34:47 +0100
parents c75dbcec494b
children
comparison
equal deleted inserted replaced
4:a9cd425dd02b 5:12f9dff5fda9
1 <?php 1 <?php
2 2
3 namespace Drupal\media; 3 namespace Drupal\media;
4 4
5 use Drupal\Component\Plugin\ConfigurableInterface;
5 use Drupal\Component\Plugin\ConfigurablePluginInterface; 6 use Drupal\Component\Plugin\ConfigurablePluginInterface;
7 use Drupal\Component\Plugin\DependentPluginInterface;
6 use Drupal\Component\Plugin\PluginInspectionInterface; 8 use Drupal\Component\Plugin\PluginInspectionInterface;
7 use Drupal\Core\Entity\Display\EntityFormDisplayInterface; 9 use Drupal\Core\Entity\Display\EntityFormDisplayInterface;
8 use Drupal\Core\Entity\Display\EntityViewDisplayInterface; 10 use Drupal\Core\Entity\Display\EntityViewDisplayInterface;
9 use Drupal\Core\Plugin\PluginFormInterface; 11 use Drupal\Core\Plugin\PluginFormInterface;
10 12
64 * @see \Drupal\media\MediaTypeInterface 66 * @see \Drupal\media\MediaTypeInterface
65 * @see \Drupal\media\MediaSourceEntityConstraintsInterface 67 * @see \Drupal\media\MediaSourceEntityConstraintsInterface
66 * @see \Drupal\media\MediaSourceFieldConstraintsInterface 68 * @see \Drupal\media\MediaSourceFieldConstraintsInterface
67 * @see plugin_api 69 * @see plugin_api
68 */ 70 */
69 interface MediaSourceInterface extends PluginInspectionInterface, ConfigurablePluginInterface, PluginFormInterface { 71 interface MediaSourceInterface extends PluginInspectionInterface, ConfigurableInterface, DependentPluginInterface, ConfigurablePluginInterface, PluginFormInterface {
70 72
71 /** 73 /**
72 * Default empty value for metadata fields. 74 * Default empty value for metadata fields.
73 */ 75 */
74 const METADATA_FIELD_EMPTY = '_none'; 76 const METADATA_FIELD_EMPTY = '_none';