$query = new EntityFieldQuery();
$query->entityCondition('entity_type', 'node')
->entityCondition('bundle', 'webform');
$result = $query->execute();
$options = array(
0 => 'None'
);
if (!empty($result['node'])) {
$nids = array_keys($result['node']);
$nodes = node_load_multiple($nids);
foreach ($nodes as $nid => $node) {
$options[$nid] = $node->label();
}
}
return $options;
I use the above code to retrieve nodes that are webforms.
What I would like to know is what condition to use to get only the webforms that have the block functionality?
Recent comments
Finally tracked down the instructions I needed... https://forum.backdropcms.org/forum/disable-modules-without-access-administration-menu I had to manually clear several cache tables...
Shut out of site
Thanks for your help. I can update the status for the particular module. But that doesn't restore the website. I believe there are some other table entries that also need to be corrected,...
Shut out of site
If you have access to the database, then look for the system table, find the module and set the 'status' field to 0. Alternatively, if you have command line access and you have installed...
Shut out of site
There is now a module to help with this. https://backdropcms.org/project/revision_helper The module allows site editors to select a custom color to display on revisions of nodes, much...
How to make clear to editor if they are on a revision?
So the admin who set up Sendgrid enabled Click tracking. Once disabled, the user password reset system works happily.
user_pass_reset_url