You are here

AcquiadamInterface.php in Media: Acquia DAM 8

File

src/AcquiadamInterface.php
View source
<?php

namespace Drupal\media_acquiadam;


/**
 * Interface AcquiadamInterface.
 *
 * Defines the Acquia dam interface.
 */
interface AcquiadamInterface {

  /**
   * Get a list of folders keyed by ID.
   *
   * @param int $folder_id
   *   The folder ID to recurse into. This is mostly for internal use.
   *
   * @return array
   *   A list of folder names keyed by folder IDs.
   */
  public function getFlattenedFolderList($folder_id = NULL);

  /**
   * Passes method calls through to the DAM client object.
   *
   * @param string $name
   *   The name of the method to call.
   * @param array $arguments
   *   An array of arguments.
   *
   * @return mixed
   *   Returns whatever the dam client returns.
   */
  public function __call($name, array $arguments);

}

Interfaces

Namesort descending Description
AcquiadamInterface Interface AcquiadamInterface.