ckeditor_help

ckeditor_help($route_name, RouteMatchInterface $route_match) Implements hook_help(). File core/modules/ckeditor/ckeditor.module, line 15 Provides integration with the CKEditor WYSIWYG editor. Code function ckeditor_help($route_name, RouteMatchInterface $route_match) { switch ($route_name) { case 'help.page.ckeditor': $output = ''; $output .= '<h3>' . t('About') . '</h3>'; $output .= '<p>' . t('The CKEditor module provides a highly-accessible, highly-u

ckeditor_ckeditor_css_alter

ckeditor_ckeditor_css_alter(array &$css, Editor $editor) Implements hook_ckeditor_css_alter(). File core/modules/ckeditor/ckeditor.module, line 57 Provides integration with the CKEditor WYSIWYG editor. Code function ckeditor_ckeditor_css_alter(array &$css, Editor $editor) { if (!$editor->hasAssociatedFilterFormat()) { return; } // Add the filter caption CSS if the text format associated with this text // editor uses the filter_caption filter. This is used by the includ

ckeditor.module

Provides integration with the CKEditor WYSIWYG editor. File core/modules/ckeditor/ckeditor.module Functions Name Description ckeditor_ckeditor_css_alter Implements hook_ckeditor_css_alter(). ckeditor_help Implements hook_help(). ckeditor_library_info_alter Implements hook_library_info_alter(). ckeditor_theme Implements hook_theme(). _ckeditor_theme_css Retrieves the default theme's CKEditor stylesheets.

ckeditor.admin.inc

Callbacks and theming for the CKEditor toolbar configuration UI. File core/modules/ckeditor/ckeditor.admin.inc Functions Name Description template_preprocess_ckeditor_settings_toolbar Prepares variables for CKEditor settings toolbar templates.

ckeditor-settings-toolbar.html.twig

Default theme implementation for the CKEditor settings toolbar. Available variables: multiple_buttons: A list of buttons that may be added multiple times. disabled_buttons: A list of disabled buttons. active_buttons: A list of active button rows. See also template_preprocess_ckeditor_settings_toolbar() File core/modules/ckeditor/templates/ckeditor-settings-toolbar.html.twig Related topics Theme system overview Functions and templates for the user interface that themes can override.

ChmodInterface::chmodJailed

public ChmodInterface::chmodJailed($path, $mode, $recursive) Changes the permissions of the file / directory specified in $path Parameters string $path: Path to change permissions of. int $mode: The new file permission mode to be passed to chmod(). bool $recursive: Pass TRUE to recursively chmod the entire directory specified in $path. See also http://php.net/chmod File core/lib/Drupal/Core/FileTransfer/ChmodInterface.php, line 22 Class ChmodInterface Defines an interface to chmod files.

ChmodInterface

Defines an interface to chmod files. Hierarchy interface \Drupal\Core\FileTransfer\ChmodInterface File core/lib/Drupal/Core/FileTransfer/ChmodInterface.php, line 8 Namespace Drupal\Core\FileTransfer Members Name Modifiers Type Description ChmodInterface::chmodJailed public function Changes the permissions of the file / directory specified in $path

check_url

check_url($uri) Strips dangerous protocols from a URI and encodes it for output to HTML. Parameters $uri: A plain-text URI that might contain dangerous protocols. Return value string A URI stripped of dangerous protocols and encoded for output to an HTML attribute value. Because it is already encoded, it should not be set as a value within a $attributes array passed to Drupal\Core\Template\Attribute, because Drupal\Core\Template\Attribute expects those values to be plain-text strings. To pass

check_markup

check_markup($text, $format_id = NULL, $langcode = '', $filter_types_to_skip = array()) Runs all the enabled filters on a piece of text. Note: Because filters can inject JavaScript or execute PHP code, security is vital here. When a user supplies a text format, you should validate it using $format->access() before accepting/using it. This is normally done in the validation stage of the Form API. You should for example never make a preview of content in a disallowed format. Note: this functio

CheckProviderInterface::setChecks

public CheckProviderInterface::setChecks(RouteCollection $routes) For each route, saves a list of applicable access checks to the route. Parameters \Symfony\Component\Routing\RouteCollection $routes: A collection of routes to apply checks to. File core/lib/Drupal/Core/Access/CheckProviderInterface.php, line 25 Class CheckProviderInterface Provides the available access checkers by service IDs. Namespace Drupal\Core\Access Code public function setChecks(RouteCollection $routes);