Skip to content
Snippets Groups Projects

Issue #2933777 by Rajeshreeputra, Berdir, ridhimaabrol24: REST/Serializer improvements in...

Issue #2933777 by Rajeshreeputra, Berdir, ridhimaabrol24: REST/Serializer improvements in...

Closes #3001618

Merge request reports

Loading
Loading

Activity

Filter activity
  • Approvals
  • Assignees & reviewers
  • Comments (from bots)
  • Comments (from users)
  • Commits & branches
  • Edits
  • Labels
  • Lock status
  • Mentions
  • Merge request status
  • Tracking
61 64 * @option folder Folder to export to, entities are grouped by entity type into directories.
62 65 * @aliases dcer
63 66 */
64 public function contentExportReferences($entity_type_id, $entity_id = NULL, $options = ['folder' => NULL]) {
67 public function contentExportReferences($entity_type_id, $entity_id = NULL, $options = [
68 'folder' => NULL,
69 'bundles' => NULL,
70 ]) {
65 71 $folder = $options['folder'];
66 72 if (is_null($entity_id)) {
67 $entities = \Drupal::entityQuery($entity_type_id)->accessCheck(FALSE)->execute();
73 /** @var \Drupal\Core\Entity\EntityStorageInterface $storage */
74 $storage = \Drupal::entityTypeManager()->getStorage($entity_type_id);
Please register or sign in to reply
Loading