ImageStyleListBuilder::buildHeader

public ImageStyleListBuilder::buildHeader() Builds the header row for the entity listing. Return value array A render array structure of header strings. Overrides EntityListBuilder::buildHeader See also \Drupal\Core\Entity\EntityListBuilder::render() File core/modules/image/src/ImageStyleListBuilder.php, line 19 Class ImageStyleListBuilder Defines a class to build a listing of image style entities. Namespace Drupal\image Code public function buildHeader() { $header['label'] = $this

config_translation_config_translation_info

config_translation_config_translation_info(&$info) Implements hook_config_translation_info(). File core/modules/config_translation/config_translation.module, line 102 Configuration Translation module. Code function config_translation_config_translation_info(&$info) { $entity_manager = \Drupal::entityManager(); // If field UI is not enabled, the base routes of the type // "entity.field_config.{$entity_type}_field_edit_form" are not defined. if (\Drupal::moduleHandler()->mod

JsCollectionRenderer::__construct

public JsCollectionRenderer::__construct(StateInterface $state) Constructs a JsCollectionRenderer. Parameters \Drupal\Core\State\StateInterface $state: The state key/value store. File core/lib/Drupal/Core/Asset/JsCollectionRenderer.php, line 26 Class JsCollectionRenderer Renders JavaScript assets. Namespace Drupal\Core\Asset Code public function __construct(StateInterface $state) { $this->state = $state; }

menu_ui_form_node_type_form_validate

menu_ui_form_node_type_form_validate(&$form, FormStateInterface $form_state) Validate handler for forms with menu options. See also menu_ui_form_node_type_form_alter() File core/modules/menu_ui/menu_ui.module, line 442 Allows administrators to customize the site's navigation menus. Code function menu_ui_form_node_type_form_validate(&$form, FormStateInterface $form_state) { $available_menus = array_filter($form_state->getValue('menu_options')); // If there is at least one menu

ConfigNamesMapper::setRouteCollection

public ConfigNamesMapper::setRouteCollection(RouteCollection $collection) Sets the route collection. Parameters \Symfony\Component\Routing\RouteCollection $collection: The route collection. Overrides ConfigMapperInterface::setRouteCollection File core/modules/config_translation/src/ConfigNamesMapper.php, line 159 Class ConfigNamesMapper Configuration mapper base implementation. Namespace Drupal\config_translation Code public function setRouteCollection(RouteCollection $collection) {

config_translation_theme

config_translation_theme() Implements hook_theme(). File core/modules/config_translation/config_translation.module, line 41 Configuration Translation module. Code function config_translation_theme() { return array( 'config_translation_manage_form_element' => array( 'render element' => 'element', 'template' => 'config_translation_manage_form_element', ), ); }

ImageStyleEditForm::effectSave

public ImageStyleEditForm::effectSave($form, FormStateInterface $form_state) Submit handler for image effect. File core/modules/image/src/Form/ImageStyleEditForm.php, line 204 Class ImageStyleEditForm Controller for image style edit form. Namespace Drupal\image\Form Code public function effectSave($form, FormStateInterface $form_state) { $this->save($form, $form_state); // Check if this field has any configuration options. $effect = $this->imageEffectManager->getDefinit

ViewExecutable

Represents a view as a whole. An object to contain all of the data to generate a view, plus the member functions to build the view query, execute the query and render the output. Hierarchy class \Drupal\views\ViewExecutable implements \Serializable uses DependencySerializationTrait File core/modules/views/src/ViewExecutable.php, line 22 Namespace Drupal\views Members Name Modifiers Type Description DependencySerializationTrait::$_serviceIds protected property An array of

ImageInterface::convert

public ImageInterface::convert($extension) Instructs the toolkit to save the image in the format specified by the extension. Parameters string $extension: The extension to convert to (for instance, 'jpeg' or 'png'). Allowed values depend on the current image toolkit. Return value bool TRUE on success, FALSE on failure. See also \Drupal\Core\ImageToolkit\ImageToolkitInterface::getSupportedExtensions() File core/lib/Drupal/Core/Image/ImageInterface.php, line 185 Class ImageInterface Provi

ImageToolkitForm::__construct

public ImageToolkitForm::__construct(ConfigFactoryInterface $config_factory, ImageToolkitManager $manager) Constructs a ImageToolkitForm object. Parameters \Drupal\Core\Config\ConfigFactoryInterface $config_factory: The factory for configuration objects. \Drupal\Core\ImageToolkit\ImageToolkitManager $manager: The image toolkit plugin manager. Overrides ConfigFormBase::__construct File core/modules/system/src/Form/ImageToolkitForm.php, line 31 Class ImageToolkitForm Configures image toolki