NodeInterface::getType

public NodeInterface::getType() Gets the node type. Return value string The node type. File core/modules/node/src/NodeInterface.php, line 21 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function getType();

NodeInterface::getTitle

public NodeInterface::getTitle() Gets the node title. Return value string Title of the node. File core/modules/node/src/NodeInterface.php, line 29 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function getTitle();

NodeInterface::getRevisionCreationTime

public NodeInterface::getRevisionCreationTime() Gets the node revision creation timestamp. Return value int The UNIX timestamp of when this revision was created. Overrides RevisionLogInterface::getRevisionCreationTime File core/modules/node/src/NodeInterface.php, line 126 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function getRevisionCreationTime();

NodeInterface::getRevisionAuthor

public NodeInterface::getRevisionAuthor() Gets the node revision author. Return value \Drupal\user\UserInterface The user entity for the revision author. Deprecated in Drupal 8.2.0, will be removed before Drupal 9.0.0. Use \Drupal\Core\Entity\RevisionLogInterface::getRevisionUser() instead. File core/modules/node/src/NodeInterface.php, line 148 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function getRevisionAuthor();

NodeInterface::getCreatedTime

public NodeInterface::getCreatedTime() Gets the node creation timestamp. Return value int Creation timestamp of the node. File core/modules/node/src/NodeInterface.php, line 48 Class NodeInterface Provides an interface defining a node entity. Namespace Drupal\node Code public function getCreatedTime();

NodeInterface

Provides an interface defining a node entity. Hierarchy interface \Drupal\Core\Entity\ContentEntityInterface extends \Traversable; interface \Drupal\Core\Entity\EntityChangedInterface; interface \Drupal\user\EntityOwnerInterface; interface \Drupal\Core\Entity\RevisionLogInterfaceinterface \Drupal\node\NodeInterface File core/modules/node/src/NodeInterface.php, line 13 Namespace Drupal\node Members Name Modifiers Type Description AccessibleInterface::access public function

NodeGrantDatabaseStorageInterface::writeDefault

public NodeGrantDatabaseStorageInterface::writeDefault() Creates the default node access grant entry. File core/modules/node/src/NodeGrantDatabaseStorageInterface.php, line 87 Class NodeGrantDatabaseStorageInterface Provides an interface for node access grant storage. Namespace Drupal\node Code public function writeDefault();

NodeGrantDatabaseStorageInterface::write

public NodeGrantDatabaseStorageInterface::write(NodeInterface $node, array $grants, $realm = NULL, $delete = TRUE) Writes a list of grants to the database, deleting previously saved ones. If a realm is provided, it will only delete grants from that realm, but it will always delete a grant from the 'all' realm. Modules that use node access can use this method when doing mass updates due to widespread permission changes. Note: Don't call this method directly from a contributed module. Call \Drupa

NodeGrantDatabaseStorageInterface::deleteNodeRecords

public NodeGrantDatabaseStorageInterface::deleteNodeRecords(array $nids) Remove the access records belonging to certain nodes. Parameters array $nids: A list of node IDs. The grant records belonging to these nodes will be deleted. File core/modules/node/src/NodeGrantDatabaseStorageInterface.php, line 125 Class NodeGrantDatabaseStorageInterface Provides an interface for node access grant storage. Namespace Drupal\node Code public function deleteNodeRecords(array $nids);

NodeGrantDatabaseStorageInterface::delete

public NodeGrantDatabaseStorageInterface::delete() Deletes all node access entries. File core/modules/node/src/NodeGrantDatabaseStorageInterface.php, line 82 Class NodeGrantDatabaseStorageInterface Provides an interface for node access grant storage. Namespace Drupal\node Code public function delete();