You are here

function restful_get_formatter_plugins in RESTful 7

Include CTools plugins and get all formatter plugins.

Return value

array All the restful formatter plugins.

3 calls to restful_get_formatter_plugins()
RestfulBase::formatterNames in plugins/restful/RestfulBase.php
Returns the names of the available formatter plugins.
RestfulManager::outputFormat in includes/RestfulManager.php
Helper function to get the default output format from the current request.
restful_admin_settings in ./restful.admin.inc
Menu callback; Admin settings form.

File

./restful.module, line 87

Code

function restful_get_formatter_plugins() {
  ctools_include('plugins');
  return ctools_get_plugins('restful', 'formatter');
}