You are here

function entity_background_entity_background_selectors_alter in Entity background 7

Implements hook_entity_background_selectors_alter().

File

./entity_background.module, line 219
Module file entity background.

Code

function entity_background_entity_background_selectors_alter(&$selectors) {

  // Get paragraphs ID prefix directly from paragraphs_id.
  $prefix = paragraphs_id_get_prefix();
  $selectors['paragraphs_item'] = '.' . $prefix . '[entity-id]';
}