You are here

function _ed_classified_node_is_classified in Classified Ads 6.2

Same name and namespace in other branches
  1. 5.2 ed_classified_utils.inc \_ed_classified_node_is_classified()
  2. 5 ed_classified_utils.inc \_ed_classified_node_is_classified()
  3. 7.2 ed_classified_utils.inc \_ed_classified_node_is_classified()

Is a node really a classified ad?

3 calls to _ed_classified_node_is_classified()
ed_classified_link in ./ed_classified.module
Implements hook_link().
ed_classified_link_alter in ./ed_classified.module
Implements hook_link_alter (&$links, $node).
_ed_classified_delete in ./ed_classified_delete.inc
Reimplement the node_delete code, because the code in node_delete performs an access check for node deletion rights This can be made more efficient, if needed.

File

./ed_classified_utils.inc, line 95
Simple text-based classified ads module.

Code

function _ed_classified_node_is_classified($node) {
  return EDI_CLASSIFIED_MODULE_NAME == $node->type;
}