You are here

interface ChannelManipulatorInterface in Entity Share 8.3

Same name and namespace in other branches
  1. 8.2 modules/entity_share_server/src/Service/ChannelManipulatorInterface.php \Drupal\entity_share_server\Service\ChannelManipulatorInterface

Channel manipulators interface methods.

Hierarchy

Expanded class hierarchy of ChannelManipulatorInterface

All classes that implement ChannelManipulatorInterface

File

modules/entity_share_server/src/Service/ChannelManipulatorInterface.php, line 12

Namespace

Drupal\entity_share_server\Service
View source
interface ChannelManipulatorInterface {

  /**
   * Generate URL query.
   *
   * @param \Drupal\entity_share_server\Entity\ChannelInterface $channel
   *   The channel entity.
   *
   * @return array
   *   The query options to use to request JSON:API.
   */
  public function getQuery(ChannelInterface $channel);

  /**
   * Get field mapping.
   *
   * @param \Drupal\entity_share_server\Entity\ChannelInterface $channel
   *   The channel entity.
   *
   * @return array
   *   The field mapping used for text search.
   */
  public function getSearchConfiguration(ChannelInterface $channel);

}

Members