ContentTranslationManagerInterface::isEnabled

public ContentTranslationManagerInterface::isEnabled($entity_type_id, $bundle = NULL) Determines whether the given entity type is translatable. @returns bool TRUE if the specified bundle is translatable. If no bundle is provided returns TRUE if at least one of the entity bundles is translatable. Parameters string $entity_type_id: The type of the entity. string $bundle: (optional) The bundle of the entity. If no bundle is provided, all the available bundles are checked. File core/modules/conten

views_help

views_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/views/views.module, line 25 Primarily Drupal hooks and global API functions to manipulate views. Code function views_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.views': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The Views module provides a back end to fetch information f

ContentTranslationManager::getSupportedEntityTypes

public ContentTranslationManager::getSupportedEntityTypes() Gets the entity types that support content translation. Return value \Drupal\Core\Entity\EntityTypeInterface[] An array of entity types that support content translation. Overrides ContentTranslationManagerInterface::getSupportedEntityTypes File core/modules/content_translation/src/ContentTranslationManager.php, line 68 Class ContentTranslationManager Provides common functionality for content translation. Namespace Drupal\conte

ModerationStateTransition::$id

The Moderation state transition ID. Type: string File core/modules/content_moderation/src/Entity/ModerationStateTransition.php, line 48 Class ModerationStateTransition Defines the Moderation state transition entity. Namespace Drupal\content_moderation\Entity Code protected $id;

ForumManagerInterface::getChildren

public ForumManagerInterface::getChildren($vid, $tid) Utility method to fetch the child forums for a given forum. Parameters int $vid: The forum vocabulary ID. int $tid: The forum ID to fetch the children for. Return value array Array of children. File core/modules/forum/src/ForumManagerInterface.php, line 37 Class ForumManagerInterface Provides forum manager interface. Namespace Drupal\forum Code public function getChildren($vid, $tid);

TranslateEditForm::submitForm

public TranslateEditForm::submitForm(array &$form, FormStateInterface $form_state) Form submission handler. Parameters array $form: An associative array containing the structure of the form. \Drupal\Core\Form\FormStateInterface $form_state: The current state of the form. Overrides FormInterface::submitForm File core/modules/locale/src/Form/TranslateEditForm.php, line 170 Class TranslateEditForm Defines a translation edit form. Namespace Drupal\locale\Form Code public function subm

contact_help

contact_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/contact/contact.module, line 15 Enables the use of personal and site-wide contact forms. Code function contact_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.contact': $menu_page = \Drupal::moduleHandler()->moduleExists('menu_ui') ? \Drupal::url('entity.menu.collection') : '#'; $block_page = \Drupal::moduleHandler()->modul

ConfigFactory::$configFactoryOverrides

An array of config factory override objects ordered by priority. Type: \Drupal\Core\Config\ConfigFactoryOverrideInterface[] File core/lib/Drupal/Core/Config/ConfigFactory.php, line 60 Class ConfigFactory Defines the configuration object factory. Namespace Drupal\Core\Config Code protected $configFactoryOverrides = array();

ConditionManager

A plugin manager for condition plugins. Hierarchy class \Drupal\Component\Plugin\PluginManagerBase implements PluginManagerInterface uses DiscoveryTraitclass \Drupal\Core\Plugin\DefaultPluginManager implements CachedDiscoveryInterface, PluginManagerInterface, CacheableDependencyInterface uses DiscoveryCachedTrait, UseCacheBackendTraitclass \Drupal\Core\Condition\ConditionManager implements CategorizingPluginManagerInterface, ExecutableManagerInterface uses CategorizingPluginManagerTrait, Contex

ViewFormBase::getDisplayTabs

public ViewFormBase::getDisplayTabs(ViewUI $view) Adds tabs for navigating across Displays when editing a View. This function can be called from hook_menu_local_tasks_alter() to implement these tabs as secondary local tasks, or it can be called from elsewhere if having them as secondary local tasks isn't desired. The caller is responsible for setting the active tab's #active property to TRUE. Parameters $display_id: The display_id which is edited on the current request. File core/modules/views