You are here

ServiceResourceInterface.php in Services 8.4

Same filename and directory in other branches
  1. 9.0.x src/ServiceResourceInterface.php

Namespace

Drupal\services

File

src/ServiceResourceInterface.php
View source
<?php

namespace Drupal\services;

use Drupal\Core\Config\Entity\ConfigEntityInterface;

/**
 * Interface \Drupal\services\Entity\ServiceResourceInterface.
 */
interface ServiceResourceInterface extends ConfigEntityInterface {

  /**
   * Get resource allowed formats.
   *
   * @return array
   *   An array of allowed formats.
   */
  public function getFormats();

  /**
   * Get resource allowed authentication.
   *
   * @return array
   *   An array of allowed authentication.
   */
  public function getAuthentication();

  /**
   * Get resource no caching option.
   *
   * @return bool
   */
  public function getNoCache();

}

Interfaces

Namesort descending Description
ServiceResourceInterface Interface \Drupal\services\Entity\ServiceResourceInterface.