function _tweet_node_types in Tweet 6
Same name and namespace in other branches
- 5.2 tweet.module \_tweet_node_types()
- 5 tweet.module \_tweet_node_types()
- 6.4 tweet.module \_tweet_node_types()
- 6.2 tweet.module \_tweet_node_types()
- 6.3 tweet.module \_tweet_node_types()
- 7.4 tweet.module \_tweet_node_types()
Helper function to provide node types in the format array(TYPE => TYPE).
1 call to _tweet_node_types()
- tweet_link in ./
tweet.module - Implementation of hook_link().
File
- ./
tweet.module, line 303 - Builds links to post pages to twitter.
Code
function _tweet_node_types() {
$a = array_keys(node_get_types());
$return = drupal_map_assoc($a);
return $return;
}