You are here

function media_registration_kinds in D7 Media 6

Build a list of possible registration types. 'resource' handles building file resource lists. 'formatter' displays a list of file resources for the file browser. 'attach' passes an FID to the registered module for handling.

Return value

array

2 calls to media_registration_kinds()
media_active_fields_for_node_type in ./media.module
Get a list of fields for the requested node type.
media_settings_content_type in ./media_settings.inc
Provide per content type settings.

File

./media.module, line 218
Media API

Code

function media_registration_kinds() {
  return array(
    'resource',
    'formatter',
  );
}