You are here

function media_upload_resource_embed_file in D7 Media 6

Implementation of registration media_upload_resource_embed_file

Parameters

string $node_type:

string $field:

int $uid:

1 string reference to 'media_upload_resource_embed_file'
media_upload_media_register in media_upload/media_upload.module
Implementation of hook_media_register

File

media_upload/media_upload.module, line 166
This module provides integration for Drupal's upload module with the Media module

Code

function media_upload_resource_embed_file($node_type, $field, $uid) {
  return array(
    t('Add files') => array(
      t('Embeded file') => _media_upload_display_embed_form(),
    ),
  );
}