Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. BlockCustom.php

function BlockCustom::fields

Overrides MigrateSourceInterface::fields

File

core/modules/block_content/src/Plugin/migrate/source/d7/BlockCustom.php, line 32

Class

BlockCustom
Drupal 7 content block source from database.

Namespace

Drupal\block_content\Plugin\migrate\source\d7

Code

public function fields() {
    return [
        'bid' => $this->t('The numeric identifier of the block/box'),
        'body' => $this->t('The block/box content'),
        'info' => $this->t('Admin title of the block/box.'),
        'format' => $this->t('Input format of the content block/box content.'),
    ];
}

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal