Store user's links in user data table

Created on 7 March 2024, 10 months ago
Updated 29 March 2024, 9 months ago

Drupal provides a simple service to store data related to users in the users_data table.

/** @var UserDataInterface $user_data */
$user_data = \Drupal::service('user.data');

In that case, we can avoid creating a new table to store data.

πŸ“Œ Task
Status

Closed: duplicate

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡¦Ukraine AstonVictor

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024