You are here

public function SubscriberInterface::getUserSharedFields in Simplenews 8

Identifies configurable fields shared with a user.

Parameters

\Drupal\user\UserInterface $user: The user to match fields against.

Return value

string[] An indexed array of the names of each field for which there is also a field on the given user with the same name and type.

1 method overrides SubscriberInterface::getUserSharedFields()
Subscriber::getUserSharedFields in src/Entity/Subscriber.php
Identifies configurable fields shared with a user.

File

src/SubscriberInterface.php, line 215

Class

SubscriberInterface
Provides an interface defining a contant message entity

Namespace

Drupal\simplenews

Code

public function getUserSharedFields(UserInterface $user);