You are here

constant SocialAlbumPostForm::VISIBILITY_MAPPING in Open Social 10.2.x

Same name and namespace in other branches
  1. 10.3.x modules/social_features/social_album/src/Form/SocialAlbumPostForm.php \Drupal\social_album\Form\SocialAlbumPostForm::VISIBILITY_MAPPING
  2. 10.0.x modules/social_features/social_album/src/Form/SocialAlbumPostForm.php \Drupal\social_album\Form\SocialAlbumPostForm::VISIBILITY_MAPPING
  3. 10.1.x modules/social_features/social_album/src/Form/SocialAlbumPostForm.php \Drupal\social_album\Form\SocialAlbumPostForm::VISIBILITY_MAPPING

The visibility options mapping.

The associative array where keys are node options and values are the corresponding post options.

See also

field.storage.node.field_content_visibility.yml

field.storage.post.field_visibility.yml

File

modules/social_features/social_album/src/Form/SocialAlbumPostForm.php, line 25

Class

SocialAlbumPostForm
Provides form for creating a post in an album.

Namespace

Drupal\social_album\Form

Code

const VISIBILITY_MAPPING = [
  'public' => '1',
  'community' => '2',
  'group' => '3',
];