Flags :
- bookmarks OK - flaglist DEV Signed-off-by: bachy <git@g-u-i.net>
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
<?php
|
||||
|
||||
function materio_flag_refresh_block_bookmarks(){
|
||||
$rep = array();
|
||||
|
||||
|
||||
// $block_content = module_invoke('block', 'block_view', 'materio_flag_mybookmarks');
|
||||
|
||||
$block = block_load('materio_flag', 'materio_flag_mybookmarks');
|
||||
$block_content = _block_render_blocks(array($block));
|
||||
$build = _block_get_renderable_array($block_content);
|
||||
$block_rendered = drupal_render($build);
|
||||
|
||||
$rep['block'] = $block_rendered;
|
||||
|
||||
|
||||
drupal_json_output($rep);
|
||||
}
|
||||
Reference in New Issue
Block a user