Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
E
entity
Manage
Activity
Members
Labels
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
drupal.org
entity
Commits
4b30303e
"src/ist-git@git.uwaterloo.ca:wcms/uw_cfg_common.git" did not exist on "cbcdbcd4e26178bea22db8be086446ebb0ad686c"
Commit
4b30303e
authored
3 years ago
by
Tim Rohaly
Browse files
Options
Downloads
Patches
Plain Diff
Issue #2008090 by joachim: hook_ENTITY_TYPE_defaults_rebuild() is not documented
parent
c591a12d
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
entity.api.php
+18
-0
18 additions, 0 deletions
entity.api.php
with
18 additions
and
0 deletions
entity.api.php
+
18
−
0
View file @
4b30303e
...
...
@@ -462,6 +462,24 @@ function hook_entity_views_field_handlers_alter(array &$field_handlers) {
$field_handlers
[
'node'
]
=
'example_node_handler'
;
}
/**
* Act after default entities have been rebuilt.
*
* This hook is invoked after default entities have been fully saved to the
* database, but with the lock still active.
*
* @param array $entities
* An array of the entities that have been saved, keyed by name.
* @param array $originals
* An array of the original copies of the entities that have been saved,
* keyed by name.
*
* @see _entity_defaults_rebuild()
*/
function
hook_ENTITY_TYPE_defaults_rebuild
(
$entities
,
$originals
)
{
}
/**
* @} End of "addtogroup hooks".
*/
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment