You are here

function blog_entity_extra_field_info in Blog 8.2

Same name and namespace in other branches
  1. 3.x blog.module \blog_entity_extra_field_info()

Implements hook_entity_extra_field_info().

File

./blog.module, line 16
Enables multi-user blogs.

Code

function blog_entity_extra_field_info() {
  $extra = [];
  $extra['user']['user']['display']['blog__personal_blog_link'] = [
    'label' => t('Personal blog link'),
    'weight' => 0,
  ];
  return $extra;
}