You are here

function PlaceholdProvider::availableMethods in Devel images provider 7

Same name and namespace in other branches
  1. 8 plugins/devel_image_provider/provider/PlaceholdProvider.class.php \PlaceholdProvider::availableMethods()

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

Overrides DevelImagesProviderBase::availableMethods

File

plugins/devel_image_provider/provider/PlaceholdProvider.class.php, line 17
Placehold support class.

Class

PlaceholdProvider
Add support for placehold.it.

Code

function availableMethods() {
  $methods = parent::availableMethods();

  // GD is not an option for this provider.
  unset($methods['gd']);
  return $methods;
}