/** * See base class for information */ public function getIndexableFromNode($node, $include_attachments = true) { $indexableContent = parent::getIndexableFromNode($node, $include_attachments); if (!empty($node['description'])) { $indexableContent['description'] = $node['description']; } return $indexableContent; }
public function getIndexableFromNode($content, $include_attachments = true) { $indexableContent = parent::getIndexableFromNode($content, $include_attachments); if (!empty($content['rawtext'])) { $indexableContent['rawtext'] = $content['rawtext']; } return $indexableContent; }