Add TODO
This commit is contained in:
parent
59176d8b00
commit
9709d4fee0
1 changed files with 2 additions and 0 deletions
|
@ -36,6 +36,8 @@ function opd_daily_emails_entity_presave(Drupal\Core\Entity\EntityInterface $ent
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// TODO: Don't add a CTA if the email already contains a "P.S.".
|
||||||
|
|
||||||
$nodeStorage = \Drupal::entityTypeManager()->getStorage('node');
|
$nodeStorage = \Drupal::entityTypeManager()->getStorage('node');
|
||||||
$query = $nodeStorage->getQuery();
|
$query = $nodeStorage->getQuery();
|
||||||
$query->condition('status', NodeInterface::PUBLISHED);
|
$query->condition('status', NodeInterface::PUBLISHED);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue