You are here

function oa_comment_fasttoggle_available_links in OA Comment 7.2

Implements hook_fasttoggle_available_links().

File

./oa_comment.module, line 362

Code

function oa_comment_fasttoggle_available_links($type = NULL, $obj = NULL) {
  $result = array();

  // Add another comment access check.
  if (is_null($type) || $type == "comment") {
    $result['comment'] = array(
      'fields' => array(
        'status' => array(
          'instances' => array(
            'status' => array(
              'access' => array(
                'oa_comment_fasttoggle_comment_access_status',
              ),
            ),
          ),
        ),
      ),
    );
  }
  return $result;
}