You are here

function entity_embed_update_8002 in Entity Embed 8

Updates the default mode settings.

File

./entity_embed.install, line 52
Contains install and update functions for Entity Embed.

Code

function entity_embed_update_8002() {
  \Drupal::configFactory()
    ->getEditable('entity_embed.settings')
    ->set('rendered_entity_mode', TRUE)
    ->save();
}