Search type Search syntax
Tags [tag]
Exact "words here"
Author user:1234
user:me (yours)
Score score:3 (3+)
score:0 (none)
Answers answers:3 (3+)
answers:0 (none)
isaccepted:yes
hasaccepted:no
inquestion:1234
Views views:250
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Favorites infavorites:mine
infavorites:1234
Status closed:yes
duplicate:no
migrated:no
wiki:no
Types is:question
is:answer
Exclude -[tag]
-apples
For more details on advanced search visit our help page
Results tagged with Search options user 45169

The most basic form of content on a Drupal site is a node.

1
vote
2answers
How do I check there is a revision exists for a node? I can load the node details using the following code. $nid = "my_node_id"; $node_details = \Drupal\node\Entity\Node::load($nid); How do I chec …
asked May 15 '17 by Crazyrubixfan
0
votes
1answer
In Drupal 6 for some content types when editing a node its replicated and keeps revisions for that content type by keeping vid (version id) for that in the table, But for some other content types it w …
asked Oct 22 '15 by Crazyrubixfan
1
vote
3answers
I was using menu_get_object() to load node information in Drupal 6. if ($node = menu_get_object()) { // Get the nid $nid = $node->nid; } Since menu_get_object() is deprecated in Drupal 8, …
asked Jun 7 '16 by Crazyrubixfan
0
votes
2answers
What does drupal_clone($node) do in Drupal? Will it clone a node? I know the node will be saved only if node_save($clone) is rendered. So what will happen when drupal_clone($node) is rendered ? /** …
asked Nov 30 '15 by Crazyrubixfan
0
votes
0answers
In D8 in all the content type adding pages the settings which display on the bottom of the page have been misaligned , refer the pic below . How can i fix this , Is it related to any style issues ? …
asked Jul 14 '16 by Crazyrubixfan
0
votes
1answer
When I try to edit a page that already added am getting an extra text area movable widget as shown in below screenshot. Is it a bug or an issue with the settings in for the content type page?
asked Mar 29 '17 by Crazyrubixfan
1
vote
1answer
I have a content type called ip_range and i was trying to create a node programmatically . I tried the follows : use \Drupal\node\Entity\Node; use \Drupal\file\Entity\File; $data = array( ' …
asked Jan 17 '17 by Crazyrubixfan
0
votes
1answer
I am modifying the node content on hook_form_alter() as follows. $node = \Drupal\node\Entity\Node::load($nid); if ($node) { $node->field_p_frontip = $availableip[0]; $node->save(); } …
asked Oct 28 '16 by Crazyrubixfan
0
votes
1answer
I have the Node revision module (diff) installed, and I have many revisions for a node, but the Revision tab is not showing any of them, even though the database table contains the data for those revi …
asked May 13 '16 by Crazyrubixfan
0
votes
1answer
I have a content type and added fields to that . But when try to add a content (the page url is base_url/node/add/content_type) it appear as an administral adding option (Means its not showing the mai …
asked Jan 20 '17 by Crazyrubixfan
1
vote
1answer
In Drupal 6, I would use the following code. $nodes = node_load(array('title' => $vcenter_name, 'type' => 'vcenter')); What is the equivalent code for Drupal 8? I could use node_load($nid), but … not node_load(array('title' => $vcenter_name, 'type' => 'vcenter')). UPDATE As per the answer , am getting the the $nodes array as Array ( [1147] => Drupal\node\Entity\Node Object …
asked Jul 19 '16 by Crazyrubixfan
0
votes
0answers
I have a weird issue in Drupal 6 that when taking the preview of a node, it's cloning and make another node type with exact same details. Any idea why this happens? I guess the below code is workin …
asked Nov 30 '15 by Crazyrubixfan
0
votes
1answer
How can i change the order of displaying fields details of a node of a content type in D8 ? Its neither specified in the Manage form display or in the Manage display of the content type management men …
asked Jun 2 '17 by Crazyrubixfan
8
votes
2answers
I have a content type in drupal 8 and which table stores the content type fields and type in drupal 8 ? Unlike in drupal 6 (in which there will be tables specifically for content types) like content_t …
asked Jul 21 '16 by Crazyrubixfan
3
votes
2answers
base_route: entity.node.canonical title: Download httpd.conf weight: 102 These tabs appear in all the content type nodes. How can I restrict them to specific content types? …
asked Jul 20 '16 by Crazyrubixfan

15 30 50 per page