This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "drupal/social_feed", | |
"type": "drupal-module", | |
"description": "Provides user an option to easily fetch feeds from Facebook, Twitter or Instagram and then display them accordingly using block", | |
"keywords": ["Drupal"], | |
"license": "GPL-2.0+", | |
"homepage": "https://www.drupal.org/project/social_feed", | |
"minimum-stability": "dev", | |
"support": { | |
"issues": "https://www.drupal.org/project/issues/social_feed", |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
// Query all of the nids of the research content type. | |
$nids = db_select('node', 'n') | |
->fields('n', array('nid')) | |
->condition('type', 'research', '=') | |
->execute() | |
->fetchCol(); | |
foreach ($nids as $nid) { |