You are here

function restful_get_formatter_plugin in RESTful 7

Include CTools plugins and get the specified formatter plugin.

Parameters

string $plugin_name: If provided this function only returns the selected plugin.

Return value

array The selected plugin for restful formatter.

1 call to restful_get_formatter_plugin()
restful_get_formatter_handler in ./restful.module
Return the formatter handler based on the formatter plugin name.

File

./restful.module, line 115

Code

function restful_get_formatter_plugin($plugin_name) {
  ctools_include('plugins');
  return ctools_get_plugins('restful', 'formatter', $plugin_name);
}