Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
API page: https://api.drupal.org/api/drupal/core%21includes%21entity.inc/function/...
$values = array(
'targetEntityType' => $entity_type,
'bundle' => $bundle,
'mode' => $view_mode,
'status' => TRUE,
));
Two closing parentheses.
Comment | File | Size | Author |
---|---|---|---|
#3 | 2800703-3.patch | 468 bytes | Shashwat Purav |
Comments
Comment #2
Shashwat Purav CreditAttribution: Shashwat Purav at Iksula commentedComment #3
Shashwat Purav CreditAttribution: Shashwat Purav at Iksula commentedPatch added. Fixed syntax error in deprecation notice's sample code.
Comment #4
joachim CreditAttribution: joachim commentedLooks good to me. Thanks!
Comment #5
naveenvalechaRTBC +1
Comment #6
alexpottCommitted and pushed 1c940d7 to 8.3.x and 227b5e9 to 8.2.x. Thanks!