You are here

function node_limit_theme in Node Limit 6

Same name and namespace in other branches
  1. 8 node_limit.module \node_limit_theme()
  2. 8 old/node_limit.module \node_limit_theme()
  3. 7 node_limit.module \node_limit_theme()

Implementation of hook_theme(). Register the two forms that require custom rendering.

File

./node_limit.module, line 76
Module to restrict the number of nodes a user or role may create.

Code

function node_limit_theme() {
  return array(
    'node_limit_limit_form' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
    'node_limit_list_limits' => array(
      'arguments' => array(
        'form' => NULL,
      ),
    ),
  );
}