You are here

public function DevelImagesProviderBase::availableMethods in Devel images provider 8

Same name and namespace in other branches
  1. 7 plugins/devel_image_provider/provider/base.inc \DevelImagesProviderBase::availableMethods()

Sets the available methods to get the images from this provider.

Overrides DevelImagesProviderInterface::availableMethods

2 calls to DevelImagesProviderBase::availableMethods()
DevelImagesProviderBase::settingsForm in plugins/devel_image_provider/provider/base.inc
Generates a settings form for this handler.
PlaceholdProvider::availableMethods in plugins/devel_image_provider/provider/PlaceholdProvider.class.php
Sets the available methods to get the images from this provider.
2 methods override DevelImagesProviderBase::availableMethods()
LocalFolderProvider::availableMethods in plugins/devel_image_provider/provider/LocalFolderProvider.class.php
Sets the available methods to get the images from this provider.
PlaceholdProvider::availableMethods in plugins/devel_image_provider/provider/PlaceholdProvider.class.php
Sets the available methods to get the images from this provider.

File

plugins/devel_image_provider/provider/base.inc, line 62
Base devel image providers plugin class.

Class

DevelImagesProviderBase
An abstract implementation of DevelImagesProviderInterface.

Code

public function availableMethods() {
  return drupal_map_assoc(array(
    'curl',
    'gd',
    'file_get_contents',
  ));
}