You are here

protected function ContentTranslationRedirectForm::getUnsupportedEntityTypes in Content Translation Redirect 8

Returns a list of entity types that are not supported.

Return value

array A list of entity types that are not supported.

1 call to ContentTranslationRedirectForm::getUnsupportedEntityTypes()
ContentTranslationRedirectForm::getAvailableBundles in src/Form/ContentTranslationRedirectForm.php
Returns an array of available content entity bundles.

File

src/Form/ContentTranslationRedirectForm.php, line 166

Class

ContentTranslationRedirectForm
Form handler for the Content Translation Redirect add and edit forms.

Namespace

Drupal\content_translation_redirect\Form

Code

protected function getUnsupportedEntityTypes() {
  return [
    // Custom blocks.
    'block_content',
    // Comments.
    'comment',
    // Menu items.
    'menu_link_content',
    // Shortcut items.
    'shortcut',
  ];
}