Profile cover photo
Profile photo
Rakesh James
101 followers
101 followers
About
Rakesh's posts

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment

Post has attachment
Drupal8 Best practice of doing the query from a custom table rather than using deprecated db_select, db_insert, db_update, db_delete Drupal 8
https://www.drupal.org/node/2133171

Post has attachment

Post has attachment
Drupal 8 : How to create the node programaticaly in drupal 8?
use Drupal\Core\Language\LanguageInterface; $node = Node::create(array(     'uid' => '1',     'title' => 'Article Test',     'type' => 'article',     'status' => NODE_PUBLISHED,     'promote' => 1,     'sticky' => 0,     'body' => array(         'value' => ...

Post has attachment
Drupal 8 how to delete the View Config entity while uninstalling the module?
Please  see the link https://www.drupal.org/node/2565543 Or in the hook_uninstall() using the following code // Deleting the views while uninstalling. \Drupal::configFactory()>getEditable('views.view.scheduled_content')>delete();

Post has attachment
How to use token replace in Drupal 8?
public function viewElements (FieldItemListInterface $items , $langcode ) { $entity = $items -> getEntity () ; $elements = array () ; foreach ( $items as $delta => $item ) { $value = $item -> getValue () ; // Replace the tokens with their respective values....
Wait while more posts are being loaded