You are here

function media_registration_types in D7 Media 6

Parsing function for the registrations to hand back the kinds of modules registering.

@TODO: finish this function.

Parameters

string $type: Only hand back data for the specified type.

Return value

array

File

./media.module, line 362
Media API

Code

function media_registration_types($type = NULL) {

  // get the registered modules
  $registrations = media_get_registered_modules();

  // parse the registrations
  foreach ($registrations as $registration) {

    // @TODO
  }
}