public function TokenAuthUser::postCreate in Simple OAuth (OAuth2) & OpenID Connect 8.2
Same name and namespace in other branches
- 8.4 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::postCreate()
- 8 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::postCreate()
- 8.3 src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::postCreate()
- 5.x src/Authentication/TokenAuthUser.php \Drupal\simple_oauth\Authentication\TokenAuthUser::postCreate()
Acts on a created entity before hooks are invoked.
Used after the entity is created, but before saving the entity and before any of the presave hooks are invoked.
See the Entity CRUD topic for more information.
Parameters
\Drupal\Core\Entity\EntityStorageInterface $storage: The entity storage object.
Overrides EntityInterface::postCreate
See also
\Drupal\Core\Entity\EntityInterface::create()
File
- src/
Authentication/ TokenAuthUser.php, line 375
Class
- TokenAuthUser
- @internal
Namespace
Drupal\simple_oauth\AuthenticationCode
public function postCreate(EntityStorageInterface $storage) {
return $this->subject
->postCreate($storage);
}