You are here

ServiceResourceInterface.php in Services 9.0.x

Same filename and directory in other branches
  1. 8.4 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 boolean
   */
  public function getNoCache();

}

Interfaces

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