ForumIndexStorageInterface
interface ForumIndexStorageInterface (View source)
Handles CRUD operations to {forum_index} table.
Methods
int
getOriginalTermId(NodeInterface $node)
Returns the forum term id associated with an existing forum node.
read(array $vids)
Reads an array of {forum} records for the given revision ids.
Details
int
getOriginalTermId(NodeInterface $node)
Returns the forum term id associated with an existing forum node.
create(NodeInterface $node)
Creates a record in {forum} table for the given node.
StatementInterface
read(array $vids)
Reads an array of {forum} records for the given revision ids.
update(NodeInterface $node)
Updates the {forum} table for the given node.
delete(NodeInterface $node)
Deletes the records in {forum} table for the given node.
deleteRevision(NodeInterface $node)
Deletes the records in {forum} table for a given node revision.
createIndex(NodeInterface $node)
Creates a {forum_index} entry for the given node.
updateIndex(NodeInterface $node)
Updates the {forum_index} records for a given node.
deleteIndex(NodeInterface $node)
Deletes the {forum_index} records for a given node.