blob: 5e6c5d5e99d28992378ac1ff4867f100b859d055 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
|
<?php
/**
* @file
* Definition of MediaModuleTest.
*/
/**
* Test browser plugin.
*/
class MediaModuleTest extends MediaBrowserPlugin {
/**
* Implements MediaBrowserPluginInterface::access().
*/
public function access($account = NULL) {
return TRUE;
}
/**
* Implements MediaBrowserPlugin::view().
*/
public function view() {
$build = array();
$build['test'] = array(
'#markup' => '<p>' . t('Test browser plugin output.') . '</p>',
);
return $build;
}
}
|