Skip to main content
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
Code code:"if (foo != bar)"
Sections title:apples
body:"apples oranges"
URL url:"*.example.com"
Saves in:saves
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 not deleted user 88964

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

0 votes
1 answer
40 views

Adding values to referential entity using REST API POST

I have 2 custom content type. One is movies and the other is actors. I am using REST API POST to add values into movies. Actor is a referential entity within movies. How do I add values into actors wh …
Akhil Mohandas's user avatar
0 votes
2 answers
200 views

Insert date programatically in custom module

I am programatically saving values from an array $customer into a content type. The below code works fine and populates the content type customer_profile except for the field date of birth. This field …
Akhil Mohandas's user avatar
0 votes

Insert date programatically in custom module

I successfully converted and inserted the date by $node_data['field_date_of_birth']['value'] = Datetime\DrupalDateTime::createFromFormat('d/m/Y', $item['DOB'])->format('Y-m-d')
Akhil Mohandas's user avatar
0 votes
1 answer
386 views

How to get field value after getting a node?

I have a content type which contains school information. School name and school id are two fields in the content type. I have the school ID and I am able to retrieve the node. How do I get the school …
Akhil Mohandas's user avatar
2 votes
1 answer
765 views

How to update a node after loadByProperties? [closed]

I search for a node with field value client id and I need to update values. How do I do that in drupal 8? I search with the following code $profileNode = \Drupal::entityTypeManager() ->getS …
Akhil Mohandas's user avatar
-2 votes
1 answer
143 views

Memory exhausted during csv upload? [closed]

I am uploading a csv and creating custom nodes. I have set the drupal memory limit to 512M and I can see this in the drupal status report. … I am using batch process for creating nodes. How do I resolve this memory exhausting issue? If by increasing the memory can resolve this issue, what is the recommended memory limit I should set? …
Akhil Mohandas's user avatar
2 votes
1 answer
2k views

Set entity reference revision field value?

How do I set entity reference revision value for a field? I have two fields, field_test_entity_reference and field_test_entity_revision. field_test_entity_reference is of field type entity reference a …
Akhil Mohandas's user avatar