new Node(nid_or_node)
Given a node id or JSON object, this Creates a new jDrupal Node object.
Parameters:
Name | Type | Description |
---|---|---|
nid_or_node |
Number | Object |
Members
constructor :jDrupal.Node|*
Set the constructor.
Type:
- jDrupal.Node | *
Methods
getCreatedTime() → {*}
Returns:
- Type
- *
getTitle() → {*}
Returns:
- Type
- *
getType() → {*}
Returns:
- Type
- *
isPromoted() → {*}
Returns:
- Type
- *
isPublished() → {*}
Returns:
- Type
- *
isSticky() → {*}
Returns:
- Type
- *
preSave(options) → {Promise}
Parameters:
Name | Type | Description |
---|---|---|
options |
Returns:
- Type
- Promise
setTitle() → {*}
Returns:
- Type
- *