Autodoc
  • Namespace
  • Class
  • Tree

Namespaces

  • BlueTihi
    • Context
  • Brickrouge
    • Element
      • Nodes
    • Renderer
    • Widget
  • ICanBoogie
    • ActiveRecord
    • AutoConfig
    • CLDR
    • Composer
    • Core
    • Event
    • Exception
    • HTTP
      • Dispatcher
      • Request
    • I18n
      • Translator
    • Mailer
    • Modules
      • Taxonomy
        • Support
      • Thumbnailer
        • Versions
    • Object
    • Operation
      • Dispatcher
    • Prototype
    • Routes
    • Routing
      • Dispatcher
    • Session
  • Icybee
    • ActiveRecord
      • Model
    • ConfigOperation
    • Document
    • EditBlock
    • Element
      • ActionbarContextual
      • ActionbarSearch
      • ActionbarToolbar
    • FormBlock
    • Installer
    • ManageBlock
    • Modules
      • Articles
      • Cache
        • Collection
        • ManageBlock
      • Comments
        • ManageBlock
      • Contents
        • ManageBlock
      • Dashboard
      • Editor
        • Collection
      • Files
        • File
        • ManageBlock
      • Forms
        • Form
        • ManageBlock
      • I18n
      • Images
        • ManageBlock
      • Members
      • Modules
        • ManageBlock
      • Nodes
        • ManageBlock
        • Module
      • Pages
        • BreadcrumbElement
        • LanguagesElement
        • ManageBlock
        • NavigationBranchElement
        • NavigationElement
        • Page
        • PageController
      • Registry
      • Search
      • Seo
      • Sites
        • ManageBlock
      • Taxonomy
        • Terms
          • ManageBlock
        • Vocabulary
          • ManageBlock
      • Users
        • ManageBlock
        • NonceLogin
        • Roles
      • Views
        • ActiveRecordProvider
        • Collection
        • View
    • Operation
      • ActiveRecord
      • Constructor
      • Module
      • Widget
    • Rendering
  • None
  • Patron
  • PHP

Classes

  • Hooks
  • Module
  • NodeLanguageElement
  • NodeNativeElement

Class Hooks

Namespace: Icybee\Modules\I18n
Located at vendor/icybee/icybee/modules/i18n/lib/hooks.php

Methods summary

public static
# on_nodes_editblock_alter_children( ICanBoogie\Event $event, Icybee\Modules\Nodes\EditBlock $block )

Alters system.nodes module and submodules edit block with I18n options, allowing the user to select a language for the node and a native source target.

Alters system.nodes module and submodules edit block with I18n options, allowing the user to select a language for the node and a native source target.

Only the native target selector is added if the language property is defined in the HIDDENS array, indicating that the language is already set and cannot be modified by the user.

The I18n options are not added if the following conditions are met:

  • The working site has no native target
  • The "i18n" module is disabled
  • Only one language is used by all the sites available.
  • The language property is defined in the CHILDREN array but is empty, indicating that

the language is irrelevant for the node.

Parameters

$event
ICanBoogie\Event
$event
$block

Magic methods summary

Autodoc API documentation generated by ApiGen 2.8.0