You are here

function blog_entity_extra_field_info in Blog 3.x

Same name and namespace in other branches
  1. 8.2 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,
    'visible' => FALSE,
  ];
  return $extra;
}