Results
30.01.2018
usebb2drupal 8.x-1.0-rc1 ::
src/Form/MigrateForm.php
29 30 31 32 33 34 35 36 37 | */ public function buildForm( array $form , FormStateInterface $form_state ) { if (Unicode::getStatus() !== Unicode::STATUS_MULTIBYTE) { drupal_set_message( $this ->t( 'This version of PHP does not support multibyte encodings.' ), 'error' ); return $form ; } $form [ 'intro' ] = [ '#markup' => $this ->t( "Specify the contents to migrate and the path to the UseBB installation and click 'Start migration'. Existing Drupal content and users will not be modified or removed. Additionally, provide the public URLs to the UseBB forum so that internal links can be translated." ), |
04.06.2020
feeds_ex 8.x-1.0-alpha4 ::
src/Encoder/TextEncoder.php
39 40 41 42 43 44 45 46 47 | public function __construct( array $encoding_list ) { $this ->encodingList = $encoding_list ; $this ->isMultibyte = Unicode::getStatus() == Unicode::STATUS_MULTIBYTE; } /** * {@inheritdoc} */ public function convertEncoding( $data ) { |
04.06.2020
feeds_ex 8.x-1.0-alpha4 ::
src/Controller/DefaultController.php
21 22 23 24 25 26 27 28 29 | $input = $request ->query->get( 'q' ); if (! strlen ( $input ) || Unicode::getStatus() != Unicode::STATUS_MULTIBYTE) { return new JsonResponse( $matches ); } $added = array_map ( 'trim' , explode ( ',' , $input )); $input = array_pop ( $added ); $lower_added = array_map ( 'mb_strtolower' , $added ); |
27.08.2020
tamper 8.x-1.x-dev ::
src/Plugin/Tamper/KeywordFilter.php
292 293 294 295 296 297 298 | $is_multibyte = (Unicode::getStatus() == Unicode::STATUS_MULTIBYTE) ? TRUE : FALSE; if ( $this ->getSetting(self::CASE_SENSITIVE)) { // The text to look for must match uppercase or lowercase characters. return $is_multibyte ? 'mb_strpos' : 'strpos' ; } // The text search is case-insensitive. |