You are here

public function NodeActivityActionHandler::determineEid in Activity 7

Return the eid field for this Activity.

Parameters

array $context: The context argument passed into the action callback.

Return value

int

Overrides ActivityActionHandler::determineEid

1 method overrides NodeActivityActionHandler::determineEid()
CommentActivityActionHandler::determineEid in ./activity_action_handlers.inc
Return the eid field for this Activity.

File

./activity_action_handlers.inc, line 369

Class

NodeActivityActionHandler
Activity handler for node module.

Code

public function determineEid($context) {
  return $context['node']->nid;
}