18 September 2011

This function embeds views view in Drupal. This function doesn't display the title of the view.

Source code viewer
  1. /**
  2.  * Embed a view.
  3.  *
  4.  * Note that this function does NOT display the title of the view.
  5.  *
  6.  * @param $name
  7.  * The name of the view to embed.
  8.  * @param $display_id
  9.  * The display id to embed. If unsure, use 'default', as it will always be
  10.  * valid. But things like 'page' or 'block' should work here.
  11.  * @param ...
  12.  * Any additional parameters will be passed as arguments.
  13.  */
  14.  
  15.  
  16. views_embed_view($name, $display_id = 'default');
Programming Language: PHP